CVE-2024-4067: Regular Expression Denial of Service in micromatch
Vendor fix available · Affected: micromatch · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 73% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- micromatch · micromatchbefore 4.0.8
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- micromatch
- Published
- May 2024
CoverageNo articles yet
No CyberSIXT article names CVE-2024-4067 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-1333cwe.mitre.org
- devhub.checkmarx.com/cve-details/CVE-2024-4067devhub.checkmarx.com
- github.com/micromatch/micromatch/pull/266github.com
- github.com/micromatch/micromatch/commit/03aa8052171e878897eee5d7github.com
- github.com/micromatch/micromatch/releases/tag/4.0.8github.com
- advisory.checkmarx.net/advisory/CVE-2024-4067advisory.checkmarx.net
- github.com/micromatch/micromatch/blob/2c56a8604b68c1099e7bc0f807github.com
- github.com/micromatch/micromatch/issues/243github.com
- github.com/micromatch/micromatch/pull/247github.com