Advisory

GHSA-h6rp-mprm-xgcq

Also known as: CVE-2023-42457, PYSEC-2023-178

Summary

plone.rest vulnerable to Denial of Service when ++api++ is used many times

Details

Impact
When the ++api++ traverser is accidentally used multiple times in a url, handling it takes increasingly longer, making the server less responsive.

Patches
Patches will be released in plone.rest 2.0.1 and 3.0.1. Series 1.x is not affected.

Workarounds
In your frontend web server (nginx, Apache) you can redirect /++api++/++api++ to /++api++.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-09-21 17:06 UTC
Modified
2025-02-13 19:36 UTC

Affected packages and fixes

plone-rest

PyPI · All systems

Affected

  • introduced 2.0.0a1, fixed 2.0.1 (ecosystem)

Fixed versions

2.0.1

Fix

  • Fixed version 2.0.1
    pip install --upgrade plone-rest==2.0.1

plone-rest

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.0.1 (ecosystem)

Fixed versions

3.0.1

Fix

  • Fixed version 3.0.1
    pip install --upgrade plone-rest==3.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences