CVE-2024-52798
Public on
Last Modified:
Description
A flaw was found in path-to-regexp. A path-to-regexp turns path strings into regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance.
Statement
This vulnerability exists because of an incomplete fix for CVE-2024-45296.
Mitigation
Avoid using two parameters within a single path segment when the separator is not, for example, /:a-:b. Alternatively, you can define the regex used for both parameters and ensure they do not overlap to allow backtracking.
Additional Information
- This content is not included.Bugzilla 2330689: path-to-regexp: path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x
- Content from cwe.mitre.org is not included.CWE-1333: Inefficient Regular Expression Complexity
- FAQ: Frequently asked questions about CVE-2024-52798
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2024-52798
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2024-52798
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Discovery 1 for RHEL 9 | discovery/discovery-server-rhel9 | Fixed | RHSA-2025:1249 |
| Discovery 1 for RHEL 9 | discovery/discovery-ui-rhel9 | Fixed | RHSA-2025:1249 |
| HawtIO HawtIO 4.2.0 | io.hawt-project | Fixed | RHSA-2025:8761 |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel8 | Will not fix | |
| Migration Toolkit for Applications 7 | mta/mta-cli-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 7 | mta/mta-ui-rhel9 | Fix deferred | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel8 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/multicluster-engine-console-mce-rhel8 | Not affected | |
| Node HealthCheck Operator | workload-availability/node-remediation-console-rhel8 | Will not fix | |
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-console-plugin-rhel9 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel8 | Will not fix | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel8 | Will not fix | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Will not fix | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-ossmc-rhel9 | Affected | |
| RHODF-4.16-RHEL-9 | odf4/mcg-core-rhel9 | Fixed | RHSA-2025:0783 |
| RHODF-4.17-RHEL-9 | odf4/mcg-core-rhel9 | Fixed | RHSA-2025:0775 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp-system-container | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel8 | Not affected | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-main-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-central-db-rhel8 | Not affected | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-rhel8-operator | Not affected | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-roxctl-rhel8 | Not affected | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-scanner-v4-db-rhel8 | Not affected | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-scanner-v4-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 1.2 | ansible-tower | Out of support scope | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | aap-cloud-ui-container | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Not affected | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Not affected | |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Not affected | |
| Red Hat Build of Keycloak | org.keycloak-keycloak-parent | Not affected | |
| Red Hat Connectivity Link 1 | rhcl-console-plugin-container | Fix deferred | |
| Red Hat Data Grid 8 | org.infinispan-infinispan-console | Will not fix | |
| Red Hat Developer Hub | rhdh-operator-container | Not affected | |
| Red Hat Developer Hub (RHDH) 1.4 | rhdh/rhdh-hub-rhel9 | Fixed | RHBA-2025:0409 |
| Red Hat Developer Hub 1.3 on RHEL 9 | rhdh-hub-container | Fixed | RHBA-2025:0610 |
| Red Hat Developer Hub 1.5 | rhdh/rhdh-hub-rhel9 | Fixed | RHSA-2025:3374 |
| Red Hat Enterprise Linux 6 | firefox | Out of support scope | |
| Red Hat Enterprise Linux 6 | thunderbird | Out of support scope | |
| Red Hat Enterprise Linux 7 | thunderbird | Out of support scope | |
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | |
| Red Hat Enterprise Linux 8 | pcs | Not affected | |
| Red Hat Enterprise Linux 9 | gjs | Not affected | |
| Red Hat Enterprise Linux 9 | pcs | Not affected | |
| Red Hat Enterprise Linux 9 | polkit | Not affected | |
| Red Hat Fuse 7 | io.apicurio-apicurito | Out of support scope | |
| Red Hat Fuse 7 | io.hawt-hawtio-integration | Out of support scope | |
| Red Hat Fuse 7 | io.hawt-hawtio-online | Out of support scope | |
| Red Hat Fuse 7 | io.hawt-project | Out of support scope | |
| Red Hat Fuse 7 | io.syndesis-syndesis-parent | Out of support scope | |
| Red Hat Fuse 7 | io.syndesis-syndesis-ui | Out of support scope | |
| Red Hat Integration Camel K 1 | io.apicurio-apicurio-registry | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 7 | io.hawt-project | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | io.hawt-project | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | org.keycloak-keycloak-parent | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | io.hawt-project | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | org.keycloak-keycloak-parent | Not affected | |
| Red Hat OpenShift AI (RHOAI) | odh-dashboard-container | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kf-notebook-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-notebook-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | odh-operator-container | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-api-server-v2-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-driver-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-launcher-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-persistenceagent-v2-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-model-registry-rhel8 | Will not fix | |
| Red Hat OpenShift AI 2.16 | rhoai/odh-dashboard-rhel8 | Fixed | RHSA-2025:3368 |
| Red Hat OpenShift AI 2.16 | rhoai/odh-dashboard-rhel8 | Fixed | RHSA-2025:3397 |
| Red Hat OpenShift AI 2.17 | rhoai/odh-dashboard-rhel8 | Fixed | RHSA-2025:1448 |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-monitoring-plugin-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Will not fix | |
| Red Hat OpenShift Container Platform 4.17 | openshift4/nmstate-console-plugin-rhel9 | Fixed | RHSA-2025:0875 |
| Red Hat OpenShift Container Platform 4.17 | openshift4/ose-networking-console-plugin-rhel9 | Fixed | RHSA-2025:0876 |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-dashboard-rhel8 | Fix deferred | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-operator-rhel8 | Not affected | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-rhel8-operator | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel8 | Out of support scope | |
| Red Hat OpenShift Dev Spaces | devspaces/dashboard-rhel8 | Out of support scope | |
| Red Hat OpenShift Dev Spaces | devspaces/traefik-rhel8 | Out of support scope | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argo-rollouts-rhel8 | Out of support scope | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Out of support scope | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Out of support scope | |
| Red Hat OpenShift GitOps | openshift-gitops-1/console-plugin-rhel8 | Out of support scope | |
| Red Hat OpenShift GitOps | openshift-gitops-1/gitops-operator-bundle | Out of support scope | |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/kiali-ossmc-rhel8 | Fixed | RHSA-2025:1051 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/kiali-rhel8 | Fixed | RHSA-2025:1051 |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin | Affected | |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin-rhel9 | Affected | |
| Red Hat Openshift Data Foundation 4 | odf4/ocs-client-console-rhel9 | Fix deferred | |
| Red Hat Openshift Data Foundation 4 | odf4/odf-console-rhel9 | Fix deferred | |
| Red Hat Openshift Data Foundation 4 | odf4/odf-multicluster-console-rhel8 | Fix deferred | |
| Red Hat Process Automation 7 | org.kie-process-migration-service | Will not fix | |
| Red Hat Process Automation 7 | org.uberfire-uberfire-parent | Will not fix | |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected | |
| Red Hat Single Sign-On 7 | org.keycloak-keycloak-parent | Out of support scope | |
| Red Hat Trusted Artifact Signer | rhtas/createtree-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/rekor-search-ui-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/trillian-createtree-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/trillian-database-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/trillian-logserver-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/trillian-logsigner-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/trillian-redis-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/updatetree-rhel9 | Not affected | |
| Red Hat build of Apicurio Registry 2 | io.apicurio-apicurio-registry | Affected | |
| Red Hat build of OptaPlanner 8 | org.optaweb.vehiclerouting-optaweb-vehicle-routing | Fix deferred | |
| streams for Apache Kafka | com.github.streamshub-console | Out of support scope |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 5.3 | |
| Attack Vector | Network | |
| Attack Complexity | Low | |
| Privileges Required | None | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | None | |
| Integrity Impact | None | |
| Availability Impact | Low |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.