Vulnerability Details : 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 category: Denial of service
Products affected by CVE-2022-39280
- cpe:2.3:a:pyup:dependency_parser:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-39280
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-39280
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.2
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2022-39280
-
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.Assigned by: security-advisories@github.com (Secondary)
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-39280
-
https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq
ReDoS issue · Advisory · pyupio/dparse · GitHubThird Party Advisory
-
https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5
Merge pull request #57 from pyupio/security/remove-intensive-regex · pyupio/dparse@8c99017 · GitHubPatch;Third Party Advisory
-
https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614
Removing index server validation · pyupio/dparse@d87364f · GitHubPatch;Third Party Advisory
-
https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
Regular expression Denial of Service - ReDoS | OWASP FoundationTechnical Description;Third Party Advisory
Jump to