CVE-2022-39280
HIGH 7.5CVSS 3.1ReDoS issue in dparse
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.
- Published
- 6 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-8fg9-p83m-x5pqPYSEC-2022-301
- Sources
- NVDJSONOSV GHSA-8fg9-p83m-x5pqJSONOSV PYSEC-2022-301JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pyup | dependency_parsercpe:2.3:a:pyup:dependency_parser:*:*:*:*:*:*:*:* |
< 0.5.1 | 0.5.1 |
| OSV | PyPI | dparse | < 0.5.2 | 0.5.2 |
References
- https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq · Third Party Advisory, WEB, ADVISORY
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS · Technical Description, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39280 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/dparse/PYSEC-2022-301.yaml · WEB
- https://github.com/pyupio/dparse · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Oct 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Oct 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Sep 2022)