Lucene search

K
osvGoogleOSV:GHSA-4HPJ-8RHV-9X87
HistoryJul 05, 2023 - 10:42 p.m.

Products.CMFCore unauthenticated denial of service and crash via unchecked use of input with Python's marshal module

2023-07-0522:42:09
Google
osv.dev
7
portalfolder
unchecked input
products.cmfcore
denial of service
crash
patch
workaround
security advisory
nicolas verdier
issue tracker
email

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

37.7%

Impact

The use of Python’s marshal module to handle unchecked input in a public method on PortalFolder objects can lead to an unauthenticated denial of service and crash situation. The code in question is exposed by all portal software built on top of Products.CMFCore, such as Plone. All deployments are vulnerable.

Patches

The code has been fixed in Products.CMFCore version 3.2.

Workarounds

Users can make the affected decodeFolderFilter method unreachable by editing the PortalFolder.py module in Products.CMFCore by hand and then restarting Zope. Go to line 233 of PortalFolder.py and remove both the @security.public decorator for decodeFolderFilter as well as the method’s entire docstring. This is safe because the method is not actually used by current code.

References

Credits

Thanks go to Nicolas VERDIER from onepoint.

For more information

If you have any questions or comments about this advisory:

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

37.7%

Related for OSV:GHSA-4HPJ-8RHV-9X87