Vulnerability · Published Sep 21, 2023 · Assigned by GitHub_M
CVE-2023-42457plone.rest vulnerable to Denial of Service when ++api++ is used many times
High 7.5
In plain English
A high-severity uncontrolled resource consumption in plone.rest from plone. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
plone.rest allows users to use HTTP verbs such as GET, POST, PUT, DELETE, etc. in Plone. Starting in the 2.x branch and prior to versions 2.0.1 and 3.0.1, when the `++api++` traverser is accidentally used multiple times in a url, handling it takes increasingly longer, making the server less responsive. Patches are available in `plone.rest` 2.0.1 and 3.0.1. Series 1.x is not affected. As a workaround, one may redirect `/++api++/++api++` to `/++api++` in one's frontend web server (nginx, Apache).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | plone-rest | 2.0.1 | GHSA-h6rp-mprm-xgcq |
| PyPI | plone-rest | 3.0.1 | GHSA-h6rp-mprm-xgcq |
| PyPI | plone-rest | no fix listed | PYSEC-2023-178 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| plone | plone.rest | >= 2.0.0a1, < 2.0.1= 3.0.0 |
Weakness: CWE-400, CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/plone/plone.rest/security/advisories/GHSA-h6rp-mprm-xgcq x_refsource_CONFIRM
- https://github.com/plone/plone.rest/commit/43b4a7e86206e237e1de5ca3817ed071575882f7 x_refsource_MISC
- https://github.com/plone/plone.rest/commit/77846a9842889b24f35e8bedc2e9d461388d3302 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2023/09/22/2