Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2024-4068
Analyzed
More InfoOfficial Page
Source-596c5446-0ce5-4ba2-aa66-48b3b757a647
View Known Exploited Vulnerability (KEV) details
Published At-14 May, 2024 | 15:42
Updated At-04 Aug, 2025 | 14:26

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.17.5HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CPE Matches

jonschlinkert
jonschlinkert
>>braces>>Versions before 3.0.3(exclusive)
cpe:2.3:a:jonschlinkert:braces:*:*:*:*:node.js:*:*:*
Weaknesses
CWE IDTypeSource
CWE-1050Secondary596c5446-0ce5-4ba2-aa66-48b3b757a647
CWE-400Secondary134c704f-9b21-4f2e-91b3-4a467353bcc0
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://devhub.checkmarx.com/cve-details/CVE-2024-4068/596c5446-0ce5-4ba2-aa66-48b3b757a647
Third Party Advisory
https://github.com/micromatch/braces/commit/415d660c3002d1ab7e63dbf490c9851da80596ff596c5446-0ce5-4ba2-aa66-48b3b757a647
Patch
https://github.com/micromatch/braces/issues/35596c5446-0ce5-4ba2-aa66-48b3b757a647
Issue Tracking
https://github.com/micromatch/braces/pull/37596c5446-0ce5-4ba2-aa66-48b3b757a647
Exploit
Issue Tracking
Patch
https://github.com/micromatch/braces/pull/40596c5446-0ce5-4ba2-aa66-48b3b757a647
Issue Tracking
Patch
https://devhub.checkmarx.com/cve-details/CVE-2024-4068/af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://github.com/micromatch/braces/commit/415d660c3002d1ab7e63dbf490c9851da80596ffaf854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/micromatch/braces/issues/35af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
https://github.com/micromatch/braces/pull/37af854a3a-2127-422b-91ae-364da2661108
Exploit
Issue Tracking
Patch
https://github.com/micromatch/braces/pull/40af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
Patch
Change History
0Changes found

Details not found