{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-52798","id":"CVE-2024-52798","title":"path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x","description":"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.","descriptionLong":"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.","published":"2024-12-05T22:45:42.774Z","updated":"2026-10-28T02:30:20.922249983Z","reserved":"2024-11-15T17:11:13.440Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.7,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.7,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["pillarjs path-to-regexp"],"affectedProducts":[{"vendor":"pillarjs","product":"path-to-regexp","defaultStatus":null,"versions":[{"version":"< 0.1.12","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"path-to-regexp","purl":"pkg:npm/path-to-regexp","ranges":["<0.1.12"],"fixed":["0.1.12"],"advisory":"GHSA-rhx6-c78j-4q9w"}],"cwes":["CWE-1333"],"aliases":["GHSA-rhx6-c78j-4q9w"],"references":[{"url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-rhx6-c78j-4q9w","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/pillarjs/path-to-regexp/commit/f01c26a013b1889f0c217c643964513acf17f6a4","tags":["x_refsource_MISC","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250124-0002/","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52798.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52798","tags":["advisory"]},{"url":"https://blakeembrey.com/posts/2024-09-web-redos","tags":["web"]},{"url":"https://github.com/pillarjs/path-to-regexp","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20250124-0002","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00787,"epssPercentile":0.57057,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-52798","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52798","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-52798","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rhx6-c78j-4q9w","ok":true,"note":"GHSA-rhx6-c78j-4q9w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-52798","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}