CVE catalog

CVE-2024-52798

node-path-to-regexp: CVE-2024-52798

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.79% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-path-to-regexpsid8.4.2-1not affected
Debiannode-path-to-regexpforky8.4.2-1not affected
Debiannode-path-to-regexptrixie6.3.0-1not affected
Debiannode-path-to-regexpbookworm6.2.1-1not affected
Npmpath-to-regexpNot reported0.1.12fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-path-to-regexpsourcesidNot affectedunimportantNot reportedNot reported
Debiannode-path-to-regexpsourceforkyNot affectedunimportantNot reportedNot reported
Debiannode-path-to-regexpsourcetrixieNot affectedunimportantNot reportedNot reported
Debiannode-path-to-regexpsourcebookwormNot affectedunimportantNot reportedNot reported
Npmpath-to-regexpnpmNot reported0.1.12Not reportedGHSA-RHX6-C78J-4Q9WNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-path-to-regexp]Not affected
    Details (2)
    • 6.2.1-1 · all · bookworm

      Not affected

      dsa · node-path-to-regexp · debian · bookworm

    • 6.2.1-1 · all · bookworm

      Not affected

      dsa · node-path-to-regexp · debian · bookworm

Observed:

References