plone.app.contenttypes has a Denial of Service in File Upload due to excessive filename length
GHSA-8pcw-h6w9-h46g
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
When creating an Image or File with a very large filename, Plone can become unresponsive. Even if the content loads, it can be hard to edit or delete, because the UI is unwieldy.
Patches
The problem has been patched in plone.app.contenttypes.
- On Plone 6.2, upgrade to
plone.app.contenttypes5.0.1. - On Plone 6.1, upgrade to
plone.app.contenttypes4.0.10. - On Plone 6.0, upgrade to
plone.app.contenttypes3.0.12
Another part of this problem has been patched in plone.app.dexterity. See this advisory.
Workarounds
There are no known workarounds.
This problem was responsibly reported by Aldin Visnjic to the Plone/Zope Security Team. Thank you!
Note: The Plone/Zope Security team felt that the kind of fixes that were needed could be disruptive in corner cases if they were not careful. So they decided to develop the fixes publicly, giving the whole community the chance the review, and giving them the benefit from early feedback.
References
- WEB https://github.com/plone/plone.app.contenttypes/security/advisories/GHSA-8pcw-h6w9-h46g
- WEB https://github.com/plone/plone.app.contenttypes/pull/744
- WEB https://github.com/plone/plone.app.contenttypes/commit/13dc98a578341aac24a1e65fd9bc7ac8a07d168a
- WEB https://github.com/plone/plone.app.contenttypes/commit/21bae6ebe424689eeac9a5884fc0da35f4944e63
- WEB https://github.com/plone/plone.app.contenttypes/commit/639c0619f371df578e69ec94e5ca98e60fd6ed58
- WEB https://github.com/plone/plone.app.contenttypes/commit/7bb03e8ec6c6bd0e645f445b0755e85a51afb158
- WEB https://github.com/plone/plone.app.contenttypes/commit/bed1547d4f8b1fc995f2c76f30ba5f20276a8ad6
- PACKAGE https://github.com/plone/plone.app.contenttypes
- WEB https://github.com/plone/plone.app.contenttypes/releases/tag/3.0.12
- WEB https://github.com/plone/plone.app.contenttypes/releases/tag/4.0.10
- WEB https://github.com/plone/plone.app.contenttypes/releases/tag/5.0.1
Ready to move
Start Securing
Free, no credit card | First findings in minutes