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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.0%top 36.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIplone-rest2.0.1GHSA-h6rp-mprm-xgcq
PyPIplone-rest3.0.1GHSA-h6rp-mprm-xgcq
PyPIplone-restno fix listedPYSEC-2023-178

Affected products (as reported)

VendorProductVersions
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