Name | CVE-2024-52798 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
node-path-to-regexp (PTS) | bullseye | 6.2.0-1 | fixed |
| bookworm | 6.2.1-1 | fixed |
| sid, trixie | 6.3.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
node-path-to-regexp | source | (unstable) | (not affected) | | | |
Notes
- node-path-to-regexp <not-affected> (0.1.x never patched in Debian)
https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-rhx6-c78j-4q9w
Incomplete fix for 0.1.x for CVE-2024-45296