GitHub Advisoryadvisory · PyPI
GHSA-4hpj-8rhv-9x87 Products.CMFCore unauthenticated denial of service and crash via unchecked use of input with Python's marshal module
HIGH
Official page ↗
- Aliases
- CVE-2023-36814
- Ecosystem
- PyPI
- Packages
- Products.CMFCore
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
- Reviewed
- 2023-07-05
Affected packages
• PyPI Products.CMFCore: >= 3.0, < 3.2 → fixed in 3.2
• PyPI Products.CMFCore: < 2.7.1 → fixed in 2.7.1
Description
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
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
• Email us at [email protected]
Related
Alias · CVE (1)
- CVE-2023-36814 Products.CMFCore are the key framework services for the Zope Content Management Framework (CMF). vulnerability
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://github.com/zopefoundation/Products.CMFCore/security/advisories/GHSA-4hpj-8rhv-9x87 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-36814 advisory
- https://github.com/zopefoundation/Products.CMFCore/commit/40f03f43a60f28ca9485c8ef429efef729be54e5 web
- https://github.com/zopefoundation/Products.CMFCore/commit/c1847a9042abe7965271fa73762dfe091b576de web
- https://github.com/pypa/advisory-database/tree/main/vulns/products-cmfcore/PYSEC-2023-113.yaml web
- https://github.com/zopefoundation/Products.CMFCore package