{"id":"CVE-2024-52798","summary":"path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x","details":"path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.","aliases":["GHSA-rhx6-c78j-4q9w"],"modified":"2026-04-09T12:01:16.468583Z","published":"2024-12-05T22:45:42.774Z","related":["CGA-fjcw-jf7r-8hcg"],"database_specific":{"cwe_ids":["CWE-1333"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52798.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52798.json"},{"type":"ADVISORY","url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-rhx6-c78j-4q9w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52798"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250124-0002/"},{"type":"FIX","url":"https://github.com/pillarjs/path-to-regexp/commit/f01c26a013b1889f0c217c643964513acf17f6a4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pillarjs/path-to-regexp","events":[{"introduced":"0"},{"fixed":"f01c26a013b1889f0c217c643964513acf17f6a4"}]}],"versions":["0.0.2","0.1.0","v0.1.1","v0.1.10","v0.1.11","v0.1.2","v0.1.3","v0.1.4","v0.1.5","v0.1.6","v0.1.7","v0.1.8","v0.1.9"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-52798.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"}]}