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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.09%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.09% probability · 63th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400, CWE-1333
- Affected
- pyup/dependency parser
- Source
- security-advisories@github.com
References
- https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5Patch, Third Party Advisory
- https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614Patch, Third Party Advisory
- https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pqThird Party Advisory
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoSTechnical Description, Third Party Advisory
- https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5Patch, Third Party Advisory
- https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614Patch, Third Party Advisory
- https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pqThird Party Advisory
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoSTechnical Description, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.