CVE-2024-52798

NameCVE-2024-52798
Descriptionpath-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.
SourceCVE (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 PackageReleaseVersionStatus
node-path-to-regexp (PTS)bullseye6.2.0-1fixed
bookworm6.2.1-1fixed
sid, trixie6.3.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-path-to-regexpsource(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

Search for package or bug name: Reporting problems