Advisory

PYSEC-2022-301

Also known as: CVE-2022-39280, GHSA-8fg9-p83m-x5pq

Summary

The record has no summary.

Details

dparse is a parser for Python dependency files. dparse in versions before 0.5.2 contain a regular expression that is vulnerable to a Regular Expression Denial of Service. All the users parsing index server URLs with dparse are impacted by this vulnerability. A patch has been applied in version 0.5.2, all the users are advised to upgrade to 0.5.2 as soon as possible. Users unable to upgrade should avoid passing index server URLs in the source file to be parsed.

Severity

Not rated by the source.

Dates

Published
2022-10-06 18:16 UTC
Modified
2023-11-08 04:10 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: PyPA Advisory Database · CC BY 4.0

Sources & licences