Advisory

GHSA-4hpj-8rhv-9x87

Also known as: CVE-2023-36814, PYSEC-2023-113

Summary

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

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-07-05 22:42 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

products-cmfcore

PyPI · All systems

Affected

  • introduced 3.0, fixed 3.2 (ecosystem)

Fixed versions

3.2

Fix

  • Fixed version 3.2
    pip install --upgrade products-cmfcore==3.2

products-cmfcore

PyPI · All systems

Affected

  • introduced 0, fixed 2.7.1 (ecosystem)

Fixed versions

2.7.1

Fix

  • Fixed version 2.7.1
    pip install --upgrade products-cmfcore==2.7.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences