GHSA-8pcw-h6w9-h46g
plone.app.contenttypes has a Denial of Service in File Upload due to excessive filename length
Quick fix
GHSA-8pcw-h6w9-h46g — plone-app-contenttypes: upgrade to the fixed version with the command below.
pip install --upgrade 'plone-app-contenttypes>=5.0.1'Details
### 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.contenttypes ` 5.0.1. * On Plone 6.1, upgrade to `plone.app.contenttypes ` 4.0.10. * On Plone 6.0, upgrade to `plone.app.contenttypes ` 3.0.12
Another part of this problem has been patched in `plone.app.dexterity`. See [this advisory](https://github.com/plone/plone.app.dexterity/security/advisories/GHSA-5426-92w4-wvhv).
### Workarounds There are no known workarounds.
This problem was responsibly reported by Aldin Visnjic to the [Plone/Zope Security Team](mailto:security@plone.org). 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
5.0.0Fixed in: 5.0.1pip install --upgrade 'plone-app-contenttypes>=5.0.1'4.0.0Fixed in: 4.0.10pip install --upgrade 'plone-app-contenttypes>=4.0.10'0Fixed in: 3.0.12pip install --upgrade 'plone-app-contenttypes>=3.0.12'References
- 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[WEB]
- https://github.com/plone/plone.app.contenttypes[PACKAGE]
- 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[WEB]