CVE-2024-4067
CVSS v3
5.3
MEDIUM
EPSS Score
1.4 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for micromatch.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- micromatchnpmall versions · fixed in 4.0.8
Vendor advisories
micromatch: vulnerable to Regular Expression Denial of Service
micromatch as a component of Cryostat 2 · micromatch as a component of OpenShift Serverless · 3scale-amp-system-container as a component of Red Hat 3scale API Management Platform 2
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.25.0 Release.
Red Hat Security Advisory: ACS 4.6 enhancement and security update
Red Hat Security Advisory: Satellite 6.16.0 release
Red Hat Bug Fix Advisory: Red Hat Developer Hub 1.3.0 release
Red Hat Security Advisory: Red Hat OpenShift Service Mesh Containers for 2.6.1 security update
Description
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Published
- 2024-05-14
- Last Modified
- 2025-08-04
Frequently asked questions
What is CVE-2024-4067?
Is CVE-2024-4067 actively exploited?
What is the CVSS score for CVE-2024-4067?
Running micromatch? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.