7.5

CVE-2022-39280

Regular expression denial of service 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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
PyupDependency Parser Version < 0.5.1
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.98% 0.577
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
security-advisories@github.com 5.9 2.2 3.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-1333 Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

CWE-400 Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5
Patch
Third Party Advisory
https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614
Patch
Third Party Advisory
https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq
Third Party Advisory
https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
Third Party Advisory
Technical Description