CVE-2024-4067
Public on
Last Modified:
Description
A flaw was found in the NPM package micromatch where it is vulnerable to a regular expression denial of service (ReDoS). The issue occurs in micromatch.braces() in index.js because the pattern .* will readily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persists. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Additional Information
- This content is not included.Bugzilla 2280601: micromatch: vulnerable to Regular Expression Denial of Service
- Content from cwe.mitre.org is not included.CWE-1333: Inefficient Regular Expression Complexity
- FAQ: Frequently asked questions about CVE-2024-4067
- 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-4067
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2024-4067
Content from github.com is not included.https://github.com/micromatch/micromatch/issues/243
Content from github.com is not included.https://github.com/micromatch/micromatch/pull/247
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Cryostat 2 | micromatch | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Under investigation | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel8 | Under investigation | |
| Migration Toolkit for Applications 7 | mta/mta-cli-rhel9 | Under investigation | |
| Migration Toolkit for Applications 7 | mta/mta-ui-rhel9 | Under investigation | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Under investigation | |
| Migration Toolkit for Runtimes | micromatch | Under investigation | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Under investigation | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel8 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/multicluster-engine-console-mce-rhel8 | Not affected | |
| Network Observability Operator | network-observability/network-observability-console-plugin-rhel9 | Under investigation | |
| Node HealthCheck Operator | workload-availability/node-remediation-console-rhel8 | Under investigation | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Under investigation | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Under investigation | |
| OpenShift Serverless | micromatch | Will not fix | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Under investigation | |
| 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 3 | advanced-cluster-security/rhacs-main-rhel8 | Under investigation | |
| Red Hat Advanced Cluster Security 4.6 | advanced-cluster-security/rhacs-main-rhel8 | Fixed | RHSA-2024:10775 |
| Red Hat Ansible Automation Platform 2 | aap-cloud-ui-container | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Under investigation | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Under investigation | |
| Red Hat Build of Keycloak | micromatch | Not affected | |
| Red Hat Data Grid 8 | micromatch | Will not fix | |
| Red Hat Developer Hub 1.3 on RHEL 9 | rhdh/rhdh-hub-rhel9 | Fixed | RHBA-2024:7523 |
| Red Hat Discovery 1 | discovery-server-container | Will not fix | |
| 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 | firefox | Out of support scope | |
| Red Hat Enterprise Linux 7 | thunderbird | Out of support scope | |
| Red Hat Enterprise Linux 8 | grafana | Not affected | |
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | |
| Red Hat Enterprise Linux 8 | pcs | Will not fix | |
| Red Hat Enterprise Linux 9 | gjs | Not affected | |
| Red Hat Enterprise Linux 9 | polkit | Not affected | |
| Red Hat Enterprise Linux 9 | pcs | Will not fix | |
| Red Hat Fuse 7 | micromatch | Will not fix | |
| Red Hat Integration Camel K 1 | micromatch | Will not fix | |
| Red Hat JBoss Data Grid 7 | micromatch | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 7 | micromatch | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 8 | micromatch | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | micromatch | Not affected | |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-console | Under investigation | |
| Red Hat OpenShift Container Platform 4 | openshift4/nmstate-console-plugin-rhel9 | Under investigation | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Under investigation | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-monitoring-plugin-rhel9 | Under investigation | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-networking-console-plugin-rhel9 | Under investigation | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-dashboard-rhel8 | Under investigation | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-operator-rhel8 | Under investigation | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-rhel8-operator | Under investigation | |
| Red Hat OpenShift Dev Spaces (RHOSDS) 3.25 | devspaces/code-rhel9 | Fixed | RHSA-2025:23225 |
| Red Hat OpenShift GitOps | openshift-gitops-1/argo-rollouts-rhel8 | Under investigation | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Under investigation | |
| Red Hat OpenShift GitOps | openshift-gitops-1/console-plugin-rhel8 | Under investigation | |
| Red Hat OpenShift GitOps | openshift-gitops-1/gitops-operator-bundle | Under investigation | |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/grafana-rhel8 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/istio-cni-rhel8 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/istio-must-gather-rhel8 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/istio-rhel8-operator | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/kiali-ossmc-rhel8 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/kiali-rhel8 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/kiali-rhel8-operator | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/pilot-rhel8 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/ratelimit-rhel8 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 9 | openshift-service-mesh/proxyv2-rhel9 | Fixed | RHSA-2024:6211 |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin | Under investigation | |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin-rhel9 | Under investigation | |
| Red Hat OpenShift distributed tracing 2 | rhosdt/jaeger-agent-rhel8 | Under investigation | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-agent-rhel8 | Under investigation | |
| Red Hat Openshift Container Storage 4 | ocs4/mcg-core-rhel8 | Under investigation | |
| Red Hat Openshift Data Foundation 4 | odf4/mcg-core-rhel8 | Under investigation | |
| Red Hat Openshift Data Foundation 4 | odf4/odf-console-rhel9 | Under investigation | |
| Red Hat Process Automation 7 | micromatch | Affected | |
| Red Hat Quay 3 | quay/quay-rhel8 | Under investigation | |
| Red Hat Satellite 6 | satellite:el8/rubygem-rabl | Will not fix | |
| Red Hat Satellite 6.16 for RHEL 8 | foreman | Fixed | RHSA-2024:8906 |
| Red Hat Satellite 6.16 for RHEL 9 | foreman | Fixed | RHSA-2024:8906 |
| Red Hat build of Apache Camel - HawtIO 4 | micromatch | Will not fix | |
| Red Hat build of Apicurio Registry 2 | micromatch | Not affected | |
| Red Hat build of OptaPlanner 8 | micromatch | Will not fix |
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 | 7.5 | 5.3 |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | None | None |
| Integrity Impact | None | None |
| Availability Impact | High | Low |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 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.