CVE-2024-4068
moderate-risk
Published 2024-05-14
The NPM package `braces`, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In `lib/parse.js,` if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.
Do I need to act?
-
0.22% chance of exploitation
EPSS score — low exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
?
Patch status unknown
Check vendor advisories for fix availability and mitigation guidance
7
CVSS 7.5/10
High
NETWORK
/ LOW complexity
Affected Products (1)
Braces
Affected Vendors
References (10)
Third Party Advisory
https://devhub.checkmarx.com/cve-details/CVE-2024-4068/
Issue Tracking
https://github.com/micromatch/braces/issues/35
Issue Tracking
https://github.com/micromatch/braces/pull/40
Third Party Advisory
https://devhub.checkmarx.com/cve-details/CVE-2024-4068/
Issue Tracking
https://github.com/micromatch/braces/issues/35
Issue Tracking
https://github.com/micromatch/braces/pull/40
32
/ 100
moderate-risk
Severity
26/34 · High
Exploitability
1/34 · Minimal
Exposure
5/34 · Minimal