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.
CVE-2024-4068
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 55% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 70.7%
- KEV
- Not listed
Published
May 14, 2024
Last Modified
December 31, 2025
References (10)
- 596c5446-0ce5-4ba2-aa66-48b3b757a647https://devhub.checkmarx.com/cve-details/CVE-2024-4068/
- 596c5446-0ce5-4ba2-aa66-48b3b757a647https://github.com/micromatch/braces/commit/415d660c3002d1ab7e63dbf490c9851da80596ff
- 596c5446-0ce5-4ba2-aa66-48b3b757a647https://github.com/micromatch/braces/issues/35
- 596c5446-0ce5-4ba2-aa66-48b3b757a647https://github.com/micromatch/braces/pull/37
- 596c5446-0ce5-4ba2-aa66-48b3b757a647https://github.com/micromatch/braces/pull/40
- af854a3a-2127-422b-91ae-364da2661108https://devhub.checkmarx.com/cve-details/CVE-2024-4068/
- af854a3a-2127-422b-91ae-364da2661108https://github.com/micromatch/braces/commit/415d660c3002d1ab7e63dbf490c9851da80596ff
- af854a3a-2127-422b-91ae-364da2661108https://github.com/micromatch/braces/issues/35
- af854a3a-2127-422b-91ae-364da2661108https://github.com/micromatch/braces/pull/37
- af854a3a-2127-422b-91ae-364da2661108https://github.com/micromatch/braces/pull/40
Vendor Advisories for CVE-2024-4068(10)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:34342Red Hat Product SecurityCritical
Red Hat Security Advisory: Cluster Observability Operator 1.5.0
- RHSA-2024:8075Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
- RHSA-2024:8076Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
- RHSA-2024:8077Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
- RHSA-2024:7164Red Hat Product SecurityHigh
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.8.4 security and bug fix update
- RHSA-2024:6211Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Service Mesh Containers for 2.6.1 security update
- RHSA-2024:4464Red Hat Product SecurityLow
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.10.4 security updates and bug fixes
- RHBA-2024:4458Red Hat Product SecurityMedium
Red Hat Bug Fix Advisory: Multicluster Engine for Kubernetes 2.5.5 bug fix updates
- +2 more
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | patch | 2024-12-12 | redhat |
| redhat | eap7-xalan-j2-0:2.7.1-37.redhat_00015.1.el7eap | 2024-10-14 | redhat |
| redhat | eap7-xalan-j2-0:2.7.1-37.redhat_00015.1.el9eap | 2024-10-14 | redhat |
| redhat | eap7-xalan-j2-0:2.7.1-37.redhat_00015.1.el8eap | 2024-10-14 | redhat |
| redhat | rhdh/rhdh-hub-rhel9:1.3-100 | 2024-10-02 | redhat |
| redhat | rhmtc/openshift-migration-ui-rhel8:v1.8.4-10 | 2024-09-26 | redhat |
| redhat | openshift-service-mesh/proxyv2-rhel9:2.6.1-4 | 2024-09-03 | redhat |
| redhat | multicluster-engine/multicluster-engine-console-mce-rhel9:v2.5.5-1 | 2024-07-10 | redhat |
| redhat | rhacm2/console-rhel9:v2.10.4-13 | 2024-07-10 | redhat |
| redhat | rhacm2/console-rhel8:v2.9.4-22 | 2024-06-04 | redhat |
| redhat | multicluster-engine/multicluster-engine-console-mce-rhel8:v2.4.5-25 | 2024-06-03 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| braces | — | 3.0.3 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(3)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 7× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-26 11:39 UTCOSV refresh
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
Show 53 moreShow fewer
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 18:11 UTCOSV refresh
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 02:28 UTCEG score recompute
- 2026-05-24 02:28 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2024-4068?
When was CVE-2024-4068 disclosed?
Is CVE-2024-4068 actively exploited?
What is the CVSS score of CVE-2024-4068?
How do I remediate CVE-2024-4068?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-4068
Is Your Infrastructure Affected by CVE-2024-4068?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.