CVE-2022-39280 json
Regular expression denial of service in dparse
published 2022-09-27 4 y ago modified 2026-06-17 4 mo ago also GHSA-8fg9-p83m-x5pq , PYSEC-2022-301 , EUVD-2022-0096
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi dparse 0.5.2
- pyup dependency_parser 0.5.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.34% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | dparse | <0.5.2 |
0.5.2 |
Affected products
- pyupio dparse
Classification
References
-
github.com
/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5
web, patch, third-party-advisory
-
github.com
/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614
web, patch, third-party-advisory
-
owasp.org
/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
web, technical-description, third-party-advisory
-
github.com
/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39280
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/dparse/PYSEC-2022-301.yaml
web
-
github.com
/pyupio/dparse
package
Sources
- CVE List CVE-2022-39280
- GitHub Advisory GHSA-8fg9-p83m-x5pq
- NVD CVE-2022-39280
- OSV PYSEC-2022-301
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.