Regular Expression Denial of Service in micromatch
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| micromatch | micromatch | unaffected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Advanced Cluster Security 4.6 | |||
| advanced-cluster-security/rhacs-main-rhel8:4.6.0-6 | cpe:/a:redhat:advanced_cluster_security:4.6::el8 | RHSA-2024:10775 | 2024-12-04T00:00:00Z |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | |||
| openshift-service-mesh/grafana-rhel8:2.6.1-6 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/istio-cni-rhel8:2.6.1-7 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/istio-must-gather-rhel8:2.6.1-4 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/istio-rhel8-operator:2.6.1-9 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/kiali-ossmc-rhel8:1.89.0-2 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/kiali-rhel8:1.89.1-3 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/kiali-rhel8-operator:1.89.1-1 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/pilot-rhel8:2.6.1-7 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| openshift-service-mesh/ratelimit-rhel8:2.6.1-6 | cpe:/a:redhat:service_mesh:2.6::el8 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 9 | |||
| openshift-service-mesh/proxyv2-rhel9:2.6.1-4 | cpe:/a:redhat:service_mesh:2.6::el9 | RHSA-2024:6211 | 2024-09-03T00:00:00Z |
| Red Hat Satellite 6.16 for RHEL 8 | |||
| foreman-0:3.12.0.1-1.el8sat | cpe:/a:redhat:satellite:6.16::el8 | RHSA-2024:8906 | 2024-11-05T00:00:00Z |
| foreman-0:3.12.0.1-1.el8sat | cpe:/a:redhat:satellite_capsule:6.16::el8 | RHSA-2024:8906 | 2024-11-05T00:00:00Z |
| foreman-0:3.12.0.1-1.el8sat | cpe:/a:redhat:satellite_utils:6.16::el8 | RHSA-2024:8906 | 2024-11-05T00:00:00Z |
| Red Hat Satellite 6.16 for RHEL 9 | |||
| foreman-0:3.12.0.1-1.el9sat | cpe:/a:redhat:satellite:6.16::el9 | RHSA-2024:8906 | 2024-11-05T00:00:00Z |
| foreman-0:3.12.0.1-1.el9sat | cpe:/a:redhat:satellite_capsule:6.16::el9 | RHSA-2024:8906 | 2024-11-05T00:00:00Z |
| foreman-0:3.12.0.1-1.el9sat | cpe:/a:redhat:satellite_utils:6.16::el9 | RHSA-2024:8906 | 2024-11-05T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-1540 | The NPM package `micromatch` prior to 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily 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. This issue was fixed in version 4.0.8. |
Github GHSA |
GHSA-952p-6rrq-rcjv | Regular Expression Denial of Service (ReDoS) in micromatch |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.4% (1.429% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jonschlinkert
Jonschlinkert micromatch |
|
| CPEs | cpe:2.3:a:jonschlinkert:micromatch:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Jonschlinkert
Jonschlinkert micromatch |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat satellite Utils
|
|
| CPEs | cpe:/a:redhat:satellite_utils:6.16::el8 cpe:/a:redhat:satellite_utils:6.16::el9 |
|
| Vendors & Products |
Redhat satellite Utils
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat advanced Cluster Security
|
|
| CPEs | cpe:/a:redhat:advanced_cluster_security:4.6::el8 | |
| Vendors & Products |
Redhat advanced Cluster Security
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat satellite
Redhat satellite Capsule |
|
| CPEs | cpe:/a:redhat:satellite:6.16::el8 cpe:/a:redhat:satellite:6.16::el9 cpe:/a:redhat:satellite_capsule:6.16::el8 cpe:/a:redhat:satellite_capsule:6.16::el9 |
|
| Vendors & Products |
Redhat satellite
Redhat satellite Capsule |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Micromatch
Micromatch micromatch |
|
| CPEs | cpe:2.3:a:micromatch:micromatch:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Micromatch
Micromatch micromatch |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat service Mesh |
|
| CPEs | cpe:/a:redhat:service_mesh:2.6::el8 cpe:/a:redhat:service_mesh:2.6::el9 |
|
| Vendors & Products |
Redhat
Redhat service Mesh |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The NPM package `micromatch` is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily 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. | The NPM package `micromatch` prior to 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily 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. This issue was fixed in version 4.0.8. |
| References |
|