High severityNVD Advisory· Published Oct 6, 2022· Updated Apr 23, 2025
Regular expression denial of service in dparse
CVE-2022-39280
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
dparsePyPI | < 0.5.2 | 0.5.2 |
Affected products
2- pyupio/dparsev5Range: < 0.5.2
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-8fg9-p83m-x5pqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-39280ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/dparse/PYSEC-2022-301.yamlghsaWEB
- github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5ghsaWEB
- github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614ghsaWEB
- github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pqghsaWEB
- owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoSghsaWEB
News mentions
0No linked articles in our index yet.