Today > | 6 Medium | 3 Low vulnerabilities   -   You can now download lists of IOCs here!

CVE-2024-4067

May 14, 2024, 4:11 p.m.

CVSS Score

7.5 / 10

Product(s) Impacted

micromatch NPM package

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.

Weaknesses

Date

Published: May 14, 2024, 3:42 p.m.

Last Modified: May 14, 2024, 4:11 p.m.

Status : Awaiting Analysis

CVE has been marked for Analysis. Normally once in this state the CVE will be analyzed by NVD staff within 24 hours.

More info

Source

596c5446-0ce5-4ba2-aa66-48b3b757a647

CVSS Data

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

Base Score
7.5
Exploitability Score
Impact Score
Base Severity
HIGH
CVSS Vector String

The CVSS vector string provides an in-depth view of the vulnerability metrics.

View Vector String

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

https://devhub.checkmarx.com/ 596c5446-0ce5-4ba2-aa66-48b3b757a647

https://github.com/ 596c5446-0ce5-4ba2-aa66-48b3b757a647

https://github.com/ 596c5446-0ce5-4ba2-aa66-48b3b757a647

https://github.com/ 596c5446-0ce5-4ba2-aa66-48b3b757a647