CVE-2024-52798
published high CVSS 4.0 · 7.7path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pillarjs | path-to-regexp | < 0.1.12 (affected) | GitHub_M · cna |
| pillarjs | path-to-regexp | 0 to < 0.1.12 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
3Provider assertions
3GitHub_M · cna
path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1d5a83ffca33399ed9a9755e2653d9d34410b6bae588829af3b38c2a89e328fd
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record