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)
Published · last modified .
EPSS exploit prediction
EPSS: 0.008 (54.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 54.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: -0.000
Affected products
- Pillarjs Path-To-Regexp — versions < 0.1.12
Weakness classification (CWE)
Public proof-of-concept exploits
References
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.