MEDIUM✓ PATCH🇬🇧 English

CVE-2024-4067

CVSS 5.3v3.1pub. 2024-05-14upd. 2025-08-04

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.

oryginał EN
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Jonschlinkert Micromatch

    APP
    Jonschlinkert
    < 4.0.8
🟢
PATCH DOSTĘPNY
Aktualizacja od producenta gotowa. Wdrożenie w ramach standardowego cyklu.
Tagi
DoS
CWE
Referencje

Powiązane podatności

CVE-2026-33671HIGH7.5ten sam vendor

Picomatch is a glob matcher written JavaScript. Versions prior to 4.0.4, 3.0.2, and 2.3.2 are vulnerable to Re...

CVE-2025-57328HIGH7.5ten sam vendor

toggle-array is a package designed to enables a property on the object at the specified index, while disabling...

CVE-2025-25975HIGH7.5ten sam vendor

An issue in parse-git-config v.3.0.0 allows an attacker to obtain sensitive information via the expandKeys fun...

CVE-2024-4068HIGH7.5ten sam vendor

The NPM package `braces`, versions prior to 3.0.3, fails to limit the number of characters it can handle, whic...

CVE-2026-33672MEDIUM5.3ten sam vendor

Picomatch is a glob matcher written JavaScript. Versions prior to 4.0.4, 3.0.2, and 2.3.2 are vulnerable to a ...