cve.bz

CVE-2024-45296 pillarjs path-to-regexp

7.5 highEPSS 0.9%Fix available

High (7.5) in pillarjs path-to-regexp. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in path-to-regexp 0.1.10, 0.1.13, 1.9.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-45296 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45296?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45296?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45296 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
pillarjs path-to-regexp< 0.1.10
pillarjs path-to-regexp>= 0.2.0, < 8.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-37ch-88jc-xwx2npmpath-to-regexp<0.1.130.1.13
GHSA-9wv6-86v2-598jnpmpath-to-regexp>=0.2.0 <1.9.01.9.0
GHSA-9wv6-86v2-598jnpmpath-to-regexp<0.1.100.1.10
GHSA-9wv6-86v2-598jnpmpath-to-regexp>=7.0.0 <8.0.08.0.0
GHSA-9wv6-86v2-598jnpmpath-to-regexp>=2.0.0 <3.3.03.3.0
GHSA-9wv6-86v2-598jnpmpath-to-regexp>=4.0.0 <6.3.06.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-path-to-regexpno fix listedDEBIAN-CVE-2024-45296
Debian13, 14node-path-to-regexp6.3.0-1DEBIAN-CVE-2024-45296
Ubuntu25.10, 26.04:LTS, 26.10node-expressno fix listedUBUNTU-CVE-2024-45296
UbuntuPro:16.04:LTSnode-path-to-regexp1.0.1-1ubuntu0.16.04.1~esm1UBUNTU-CVE-2024-45296 USN-8290-1
UbuntuPro:18.04:LTSnode-path-to-regexp1.0.1-1ubuntu0.18.04.1~esm1UBUNTU-CVE-2024-45296 USN-8290-1
UbuntuPro:20.04:LTSnode-path-to-regexp6.1.0-2ubuntu0.1~esm1UBUNTU-CVE-2024-45296 USN-8290-1
UbuntuPro:22.04:LTSnode-path-to-regexp6.2.0-2ubuntu0.1~esm1UBUNTU-CVE-2024-45296 USN-8290-1
UbuntuPro:24.04:LTSnode-path-to-regexp6.2.1-1ubuntu0.1~esm1UBUNTU-CVE-2024-45296 USN-8290-1
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.13-1.el8apRHSA-2024:10762
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8ansible-core1:2.15.13-1.el8apRHSA-2024:10762
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.5.13-1.el9apRHSA-2024:10762
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9ansible-core1:2.15.13-1.el9apRHSA-2024:10762
openSUSETumbleweedargocd-cli2.12.4-1.1openSUSE-SU-2024:14374-1
openSUSETumbleweedvelociraptor0.7.0.4.git142.862ef23-1.1openSUSE-SU-2025:14663-1
Azure Linux2js-jqueryno fix listedAZL-49103
Azure Linux2nodejs-nodemonno fix listedAZL-49085
Azure Linux2reaper3.1.1-13AZL-49117
Azure Linux3js-jqueryno fix listedAZL-49158
Azure Linux3nodejs-nodemonno fix listedAZL-49161

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Discovery 1 for RHEL 9discovery/discovery-server-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
Discovery 1 for RHEL 9discovery/discovery-ui-rhel9:1.12.0-1Fixed 2025-02-10RHSA-2025:1249
HawtIO 4.0.0 for Red Hat build of Apache Camel 4path-to-regexpFixed 2024-12-12RHSA-2024:11023
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-image-service-rhel8:v2.6.4-4Fixed 2024-12-17RHSA-2024:11293
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-installer-agent-rhel8:v2.6.4-7Fixed 2024-12-17RHSA-2024:11293
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-installer-controller-rhel8:v2.6.4-6Fixed 2024-12-17RHSA-2024:11293
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-installer-rhel8:v2.6.4-7Fixed 2024-12-17RHSA-2024:11293
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-service-8-rhel8:v2.6.4-11Fixed 2024-12-17RHSA-2024:11293
multicluster engine for Kubernetes 2.6 for RHEL 9multicluster-engine/addon-manager-rhel9:v2.6.4-14Fixed 2024-12-17RHSA-2024:11293
multicluster engine for Kubernetes 2.6 for RHEL 9multicluster-engine/assisted-service-9-rhel9:v2.6.4-11Fixed 2024-12-17RHSA-2024:11293
Cryostat 3path-to-regexpFix deferred
Migration Toolkit for Applications 7mta/mta-cli-rhel9Fix deferred
Migration Toolkit for Applications 7mta/mta-ui-rhel9Fix deferred
Migration Toolkit for Runtimespath-to-regexpWill not fix
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Not affected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Will not fix
OpenShift Lightspeedopenshift-lightspeed-beta/lightspeed-console-plugin-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel8Will not fix
467 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-45296.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON