Live threats

All CVEs / Pyup

CVE-2022-39280Pyup Dependency Parser

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Oct 6, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dependency Parser.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI dparse < 0.5.2 0.5.2 pip install "dparse>=0.5.2"
PyPI dparse < 0.5.2 0.5.2 pip install "dparse>=0.5.2"

Per OSV / GitHub Advisories (GHSA-8fg9-p83m-x5pq, PYSEC-2022-301). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyupdependency_parser< 0.5.1

Official sources

References

Links published by the sources. Open them with care.