Vulnerability in Pillarjs Path-To-Regexp
CVE-2024-52798
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
EPSS: 0.008 (52.6th percentile) — read the EPSS interpretation.
Affected products
- Pillarjs Path-to-regexp — versions < 0.1.12
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-52798?
- CVE-2024-52798 is a vulnerability in Pillarjs Path-To-Regexp, classified under Inefficient Regular Expression Complexity. Published 2024-12-05.
- Is CVE-2024-52798 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.