CVE catalog

CVE-2024-45296

Path-to-Regexp vulnerability

[CVE catalog]

Severity
High · CVSS 7.5
Published
Source
[NVD] · [CVE record]
EPSS
0.93% · 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. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.

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-1fixed
Debiannode-path-to-regexpforky8.4.2-1fixed
Debiannode-path-to-regexptrixie6.3.0-1fixed
Debiannode-path-to-regexpbookworm6.2.1-1vulnerable
Ubuntunode-path-to-regexpnobleNot reportedvulnerable
Ubuntunode-path-to-regexpnoble6.2.1-1ubuntu0.1~esm1fixed
Npmpath-to-regexpNot reported0.1.13fixed
Npmpath-to-regexpNot reported6.3.0fixed
Npmpath-to-regexpNot reported0.1.10fixed
Npmpath-to-regexpNot reported8.0.0fixed
Npmpath-to-regexpNot reported3.3.0fixed
Npmpath-to-regexpNot reported6.3.0fixed
Ubuntunode-path-to-regexppro6.2.1-1vulnerable
Ubuntunode-path-to-regexppro6.2.1-1ubuntu0.1~esm1fixed
Opensuseargocd-clitumbleweed2.12.4-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-path-to-regexpsourcesid6.3.0-1not yet assignedNot reported[1081656]
Debiannode-path-to-regexpsourceforky6.3.0-1not yet assignedNot reported[1081656]
Debiannode-path-to-regexpsourcetrixie6.3.0-1not yet assignedNot reported[1081656]
Debiannode-path-to-regexpsourcebookworm(unfixed)not yet assignedNot reported[1081656]
Ubuntunode-path-to-regexpdebnoble6.2.1-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Npmpath-to-regexpnpmNot reported0.1.13Not reportedGHSA-37CH-88JC-XWX2Not reported
Npmpath-to-regexpnpmNot reported6.3.0Not reportedGHSA-9WV6-86V2-598JNot reported
Npmpath-to-regexpnpmNot reported0.1.10Not reportedNot reportedNot reported
Npmpath-to-regexpnpmNot reported8.0.0Not reportedNot reportedNot reported
Npmpath-to-regexpnpmNot reported3.3.0Not reportedNot reportedNot reported
Npmpath-to-regexpnpmNot reported6.3.0Not reportedNot reportedNot reported
Ubuntunode-path-to-regexpdebpro6.2.1-1ubuntu0.1~esm1Not reportedUSN-8290-1Not reported
Opensuseargocd-clirpmtumbleweed2.12.4-1.1Not reportedOPENSUSE-SU-2024:14374-1Not reported

[Debian bug #1081656]

Notes

[bookworm] node-path-to-regexp: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 6.2.1-1 · all · bookworm

      Affected

      usn · node-path-to-regexp · debian · bookworm; usn · node-path-to-regexp · debian · 12

    • 6.2.1-1 · all · bookworm

      Affected

      usn · node-path-to-regexp · debian · bookworm; usn · node-path-to-regexp · debian · 12

[openSUSE Tumbleweed]

  • Source package: [argocd-cli]

    Details (1)
    • 3.5.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.12.4-1.1

      Version impact unknown

      usn · argocd-cli · opensuse · tumbleweed

  • Source package: [argocd-cli]

    Details (1)
    • 3.5.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.12.4-1.1

      Version impact unknown

      usn · argocd-cli · opensuse · tumbleweed

  • [argocd-cli]Fixed

    Source package: [argocd-cli]

    Details (1)
    • 3.5.2-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 2.12.4-1.1

      usn · argocd-cli · opensuse · tumbleweed

[Debian 13 (Trixie)]

  • Details (2)
    • 6.3.0-1 · all · trixie

      Fixed · Fixed: 6.3.0-1

      usn · node-path-to-regexp · debian · 13

    • 6.3.0-1 · all · trixie

      Fixed · Fixed: 6.3.0-1

      usn · node-path-to-regexp · debian · 13

Observed:

References