Skip to content
Sign in
CVE-2024-40675.3MediumCWE-1333

CVE-2024-4067: Regular Expression Denial of Service in micromatch

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.

1.4%probability of exploitation in the next 30 days
73rd percentile
050100

Higher than 73% of scored CVEs

5.3MediumCVSS 3.1
LowMedium

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.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
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

Updated AboutDevelopersSign in