Resource exhaustion in Pyup Dependency Parser
CVE-2022-39280
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.011 (64.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 64.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: +0.000
Affected products
- Pyup Dependency Parser
- Pyupio Dparse — versions < 0.5.2
Weakness classification (CWE)
References
- owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS (Technical Description, Third Party Advisory)
- github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq (Third Party Advisory)
- github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5 (Patch, Third Party Advisory)
- github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-39280?
- CVE-2022-39280 is a medium-severity vulnerability in Pyup Dependency Parser, classified under Uncontrolled Resource Consumption. CVSS score: 5.9/10. Published 2022-10-06.
- How severe is CVE-2022-39280?
- Medium severity. CVSS v3 base score is 5.9 out of 10.