Loading HuntDB...

GHSA-4hpj-8rhv-9x87

GitHub Security Advisory

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

✓ GitHub Reviewed HIGH Has CVE

Advisory 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
- Products.CMFCore security advisory [GHSA-4hpj-8rhv-9x87](https://github.com/zopefoundation/Products.CMFCore/security/advisories/GHSA-4hpj-8rhv-9x87)

### Credits
Thanks go to Nicolas VERDIER from onepoint.

### For more information

If you have any questions or comments about this advisory:

- Open an issue in the [Products.CMFCore issue tracker](https://github.com/zopefoundation/Products.CMFCore/issues)
- Email us at [[email protected]](mailto:[email protected])

Affected Packages

PyPI Products.CMFCore
Affected versions: 3.0 (fixed in 3.2)
PyPI Products.CMFCore
Affected versions: 0 (fixed in 2.7.1)

Related CVEs

Key Information

GHSA ID
GHSA-4hpj-8rhv-9x87
Published
July 5, 2023 10:42 PM
Last Modified
October 14, 2024 3:28 PM
CVSS Score
7.5 /10
Primary Ecosystem
PyPI
Primary Package
Products.CMFCore
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 13, 2025 6:28 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.