PT-2024-35449
CVE-2024-52798
·
Published
2024-12-05
·
Updated
2026-09-29
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
path-to-regexp versions 0.1.x through 0.1.11
Description
The issue concerns a performance vulnerability in path-to-regexp, where certain inputs can generate regular expressions vulnerable to backtracking, leading to poor performance. This vulnerability exists due to an incomplete fix.
Recommendations
Upgrade to version 0.1.12.
As a temporary workaround, consider avoiding the use of two parameters within a single path segment when the separator is not
. (e.g., no /:a-:b).
Alternatively, define the regex used for both parameters and ensure they do not overlap to allow backtracking.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾