Resource exhaustion in Pyup Dependency Parser
CVE-2022-39280
- CVSS v3
- 5.9 Medium
- Public exploits
- None known
- EPSS
- 0.013 · 71.7th percentile
- Published
- 2022-10-06
What to do
- Fixed in
0.5.2- Affected
- 2 affected products
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.013, 71.7th percentile (last changed ); unchanged over 30 days. About EPSS.
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)