7.5

CVE-2024-4068: Memory Exhaustion in braces

Analyzed
AliasesUBUNTU-CVE-2024-4068DEBIAN-CVE-2024-4068CGA-49fh-hq93-3qpf
Published 13-05-2024Last modified 06-11-2024

Vulnerability summary

CVE-2024-4068 is a high (CVSS 7.5) vulnerability in jonschlinkert braces. EPSS estimates a 1.47% chance of exploitation in the next 30 days, higher than 73.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.47%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 9 · Related 13

Timeline

  1. 13-05-2024
    PublishedVulnerability first disclosed.
  2. 06-11-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

1.47%

Chance of exploitation in the next 30 days

Percentile

74%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.47% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Braces

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard64 products
  • arangodb-3.11< 3.11.14.4-r17
  • argo-workflows< 3.6.5-r2
  • argo-workflows-ui-3.7< 3.7.13-r2
  • gitlab-rails-ce-18.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10All versions (No fix recorded)
Wolfi4 products
  • argo-workflows< 3.6.5-r2
  • argo-workflows-ui-3.7< 3.7.13-r2
  • kubeflow-pipelines-frontend< 2.15.0-r1
  • lerna< 8.1.4-r0
Debian1 product
  • node-bracesAll versions (No fix recorded) | < 3.0.3+~3.0.4-1
Jonschlinkert1 product
Micromatch1 product
Npm1 product
  • braces< 3.0.3
Ubuntu1 product
  • node-bracesAll versions (No fix recorded)

7 vendors · 73 products

References

14 links
Show all 14 references