{"id":"CVE-2022-39280","published":"2022-10-06T00:00:00Z","modified":"2025-04-23T16:52:14Z","title":"Regular expression denial of service in dparse","vendor":"pyupio","product":"dparse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01337,"percentile":0.7193,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS","tags":[]},{"url":"https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq","tags":[]},{"url":"https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5","tags":[]},{"url":"https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614","tags":[]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":14.39},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"pyupio","affectedVersions":[{"vendor":"pyupio","product":"dparse","versions":["< 0.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:56:40.078850Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"dparse","vulnerableRanges":["<0.5.2"],"patched":["0.5.2"],"from":["GHSA-8fg9-p83m-x5pq","PYSEC-2022-301"],"provenance":"source"}],"summary":{"text":"The dparse library, a parser for Python dependency files, contains a regular expression flaw in versions before 0.5.2 that makes it vulnerable to regular expression denial of service when parsing index server URLs. An attacker who can supply a dependency file for dparse to parse can exhaust processing resources and make the service unavailable, with no authentication or user interaction required, though the attack is considered high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:37Z"},"euvd":{"id":"EUVD-2022-0096","exploited":false,"provenance":"source"}}