Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory exhaustion issue in version 3.0.2 #43

Open
srijit-prox opened this issue Jun 4, 2024 · 1 comment
Open

Memory exhaustion issue in version 3.0.2 #43

srijit-prox opened this issue Jun 4, 2024 · 1 comment

Comments

@srijit-prox
Copy link

Vulnerability Details:

Vulnerability ID: CVE-2024-4068

Vulnerability Source: NVD

CWEs: CWE-1050

Inspector Score: None

Exploit Prediction Scoring System (EPSS): 0.00045

Related Vulnerabilities: None

A security vulnerability (CVE-2024-4068) has been identified in the braces NPM package, version 3.0.2 and below. The package 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, causing the program to allocate heap memory continuously without freeing it. Eventually, this will lead to the JavaScript heap limit being reached and the program crashing.

@n0099
Copy link

n0099 commented Jun 10, 2024

Already fixed in 3.0.3: #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@n0099 @srijit-prox and others