Advisory

GHSA-8fg9-p83m-x5pq

Also known as: CVE-2022-39280, PYSEC-2022-301

Summary

ReDoS issue in dparse

Details

Impact
dparse versions prior to 0.5.1 contain a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service).

All users parsing index server URLs with dparse are impacted by this vulnerability.

Patches
The Patch is applied in the 0.5.2 version, all users are recommended to upgrade as soon as possible.

Workarounds
Avoid passing index server URLs in the source file to be parsed.

References
https://github.com/pyupio/dparse/tree/security/remove-intensive-regex

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-09-27 15:28 UTC
Modified
2024-11-20 05:25 UTC

Affected packages and fixes

dparse

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.2 (ecosystem)

Fixed versions

0.5.2

Fix

  • Fixed version 0.5.2
    pip install --upgrade dparse==0.5.2

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