{"id":"PYSEC-2022-301","details":"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.","aliases":["CVE-2022-39280","GHSA-8fg9-p83m-x5pq"],"modified":"2023-11-08T04:10:17.529680Z","published":"2022-10-06T18:16:00Z","references":[{"type":"FIX","url":"https://github.com/pyupio/dparse/commit/8c990170bbd6c0cf212f1151e9025486556062d5"},{"type":"WEB","url":"https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS"},{"type":"FIX","url":"https://github.com/pyupio/dparse/commit/d87364f9db9ab916451b1b036cfeb039e726e614"},{"type":"ADVISORY","url":"https://github.com/pyupio/dparse/security/advisories/GHSA-8fg9-p83m-x5pq"}],"affected":[{"package":{"name":"dparse","ecosystem":"PyPI","purl":"pkg:pypi/dparse"},"ranges":[{"type":"GIT","repo":"https://github.com/pyupio/dparse","events":[{"introduced":"0"},{"fixed":"8c990170bbd6c0cf212f1151e9025486556062d5"},{"fixed":"d87364f9db9ab916451b1b036cfeb039e726e614"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}],"versions":["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","0.5.0","0.5.1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/dparse/PYSEC-2022-301.yaml"}}],"schema_version":"1.7.3"}