Skip to content
Fencer Intel
high 7.5

CVE-2024-52798 json

path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x

published last yr. modified 2mo ago also EUVD-2024-3506 , GHSA-rhx6-c78j-4q9w

cvss
7.5
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 56%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm path-to-regexp 0.1.12
  • pillarjs path-to-regexp 0.1.12
  • reaper CBL-Mariner 2.0 3.1.1-16

azure linux advisories AZL-54020

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2024-52798 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-52798 updated cvss 5.3

path-to-regexp: path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x

  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8, openshift-logging/logging-view-plugin-rhel9
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Migration Toolkit for Applications 7 mta/mta-ui-rhel9, mta/mta-cli-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-ui-rhel8 Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Lightspeed lightspeed-console-plugin-rhel9
    affected: workaround, no fix available
  • Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-hub-db-migration-rhel8
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8
    affected: workaround, no fix available
  • Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8
    affected: workaround, no fix available “Fix deferred”
show 24 more
  • Red Hat Ansible Automation Platform 1.2 ansible-tower
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Ansible Automation Platform 2 aap-cloud-ui-container, ansible-automation-platform-25/lightspeed-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registry
    affected: workaround, no fix available
  • Red Hat build of OptaPlanner 8 org.optaweb.vehiclerouting-optaweb-vehicle-routing Red Hat Connectivity Link 1 rhcl-1/rhcl-console-plugin-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Data Grid 8 org.infinispan-infinispan-console
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 firefox, thunderbird Red Hat Enterprise Linux 7 thunderbird Red Hat Fuse 7 io.hawt-project, io.apicurio-apicurito, io.hawt-hawtio-online, io.syndesis-syndesis-ui, io.syndesis-syndesis-parent, konflux-ci/integration-service
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Integration Camel K 1 io.apicurio-apicurio-registry
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift AI (RHOAI) odh-dashboard-container, odh-model-registry-rhel8, odh-notebook-controller-rhel8, odh-kf-notebook-controller-rhel8
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Openshift Data Foundation 4 odf4/odf-console-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-multicluster-console-rhel8 Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Dev Spaces devspaces/code-rhel8, devspaces/traefik-rhel8, devspaces/dashboard-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/console-plugin-rhel8, openshift-gitops-argocd-rhel9-container, openshift-gitops-1/gitops-operator-bundle
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin, container-native-virtualization/kubevirt-console-plugin-rhel9
    affected: workaround, no fix available
  • Red Hat Process Automation 7 org.uberfire-uberfire-parent, org.kie-process-migration-service
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Quay 3 quay/quay-rhel8
    affected: workaround, no fix available
  • Red Hat Single Sign-On 7 org.keycloak-keycloak-parent Red Hat streams for Apache Kafka container-native-virtualization/kubevirt-console-plugin
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Discovery 1 for RHEL 9 discovery/discovery-ui-rhel9 1.12.0-1, discovery/discovery-server-rhel9 1.12.0-1
    fixed: vendor fix RHSA-2025:1249
  • Red Hat HawtIO HawtIO 4.2.0
    fixed: vendor fix RHSA-2025:8761
  • Red Hat Developer Hub (RHDH) 1.4 rhdh 1.4-1737055846
    fixed: vendor fix RHBA-2025:0409
  • Red Hat Developer Hub 1.5 rhdh
    fixed: vendor fix RHSA-2025:3374
  • Red Hat OpenShift AI 2.16 rhoai v2.16.2-1741963152
    fixed: vendor fix RHSA-2025:3368
  • Red Hat OpenShift AI 2.17 rhoai v2.17.0-1739103483
    fixed: vendor fix RHSA-2025:1448
  • Red Hat OpenShift Container Platform 4.17 openshift4/nmstate-console-plugin-rhel9 v4.17.0-202501301204.p0.gcffdc60.assembly.stream.el9, openshift4/ose-networking-console-plugin-rhel9 v4.17.0-202501241234.p0.g2c4e34f.assembly.stream.el9
    fixed: vendor fix RHSA-2025:0875
  • Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202502100215-0, openshift4/frr-rhel9 v4.18.0-202502041302.p0.g1ad8f2e.assembly.stream.el9, openshift4/metallb-rhel9 v4.18.0-202502041632.p0.gdcee704.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.18.0-202502040032.p0.ga50d4c0.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.18.0-202502051032.p0.gacb9630.assembly.stream.el9, openshift4/ose-ptp-rhel9 v4.18.0-202501230001.p0.gcc2e8c8.assembly.stream.el9, +237 more
    fixed: vendor fix RHSA-2024:6122
  • Red Hat RHODF 4.16 for RHEL 9 odf4/mcg-core-rhel9 v4.16.6-1
    fixed: vendor fix RHSA-2025:0783
  • Red Hat RHODF 4.17 for RHEL 9 odf4/mcg-core-rhel9 v4.17.3-1
    fixed: vendor fix RHSA-2025:0775

1 more fixed, 22 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 4.0 7.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 4.0 7.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
npm path-to-regexp
<0.1.12
0.1.12

Affected products

  • pillarjs path-to-regexp

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of pillarjs/path-to-regexp published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.