CVE-2024-4068
A public proof of concept exists; no exploitation attested.
- Published2024-05-14
- Fixed in3.0.3
- WeaknessCWE-1050 · CWE-400
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-05-1415:42CVE publishedNVD
Versions per branch
NVD · OSV · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.0 | < 3.0.3 | 3.0.3 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.0 | < 3.0.3 | 3.0.3 | CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As Checkmarx, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- micromatch bracesother versions: unknown
package braceshttps://www.npmjs.com/package/micromatch
Affected- ≤ 3.0.2fixed in 3.0.3git
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-11-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @rootio/bracesRoot:npmall versions · fixed in 3.0.2-root.io.1
- @rootio/bracesRoot:npmall versions · fixed in 2.3.2-root.io.1
- @rootio/bracesRoot:npmall versions · fixed in 2.3.2-root.io.2
- @rootio/bracesRoot:npmall versions · fixed in 2.3.2-root.io.3
- @rootio/bracesRoot:npmall versions · fixed in 3.0.2-root.io.2
- @rootio/bracesRoot:npmall versions · fixed in 3.0.2-root.io.3
- @rootio/bracesRoot:npmall versions · fixed in 3.0.3-root.io.1
- apache-superset-4.1MinimOSall versions · no fixed version listedand 2 other packages
107 more package ranges on OSV.dev
Vendor advisories
braces: fails to limit the number of characters it can handle
braces as a component of Cryostat 2 · mta/mta-ui-rhel9 as a component of Migration Toolkit for Applications 7 · braces.src as a component of Migration Toolkit for Runtimes · +64 more
Red Hat Security Advisory: Cluster Observability Operator 1.5.0
Red Hat Security Advisory: HawtIO 4.1.0 for Red Hat build of Apache Camel 4 Release and security update.
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
7 more advisories
Fix
- Update Jonschlinkert braces to 3.0.3
- Vendor fix Red Hat Product Security RHSA-2026:34342 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:11023 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:8075 · 40 productsBefore applying the update, make sure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://acce…
- Vendor fix Red Hat Product Security RHSA-2024:4464 · 4 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation, which will be updated shortly for this release: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.10/html-single/install/index#installing
- Vendor fix Red Hat Product Security RHBA-2024:4458 · 8 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.10/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHBA-2024:3593 · 4 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation, which will be updated shortly for this release: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.9/html-single/install/index#installing
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01cyeezy08/DoS-Braces-3.03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2024-05-13
- CNACVSS 3.17.5known since 2026-10-23
- CISA-ADPweakness (CWE)CWE-4002024-05-13
- CNAweakness (CWE)CWE-1050known since 2026-10-23
- FIRST EPSSEPSS score1.5 %2026-11-08
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2024-06-10
Identifiers
- AZL-42034same flawAzure Linux · MIT
- AZL-44020same flawAzure Linux · MIT
- AZL-44562same flawAzure Linux · MIT
- CGA-247x-p28m-6w76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2574-3jxw-8v3psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2774-pxmr-crjwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2wj3-cx86-5h85same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3433-6c7q-592qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3886-h2gq-fm27same flawChainguard · CC-BY-NC-ND-4.0
- CGA-38f8-42q7-wrmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-38g3-j7vj-qvg4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-39c6-ccx6-74jcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3ghx-5h7f-xxhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hw8-6mjh-2mfhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3jhw-5w9q-xpgwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3pcq-vv47-q8rvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3qmm-7ggr-rxwpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3wx5-xvgw-qr9qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-442m-fqmq-cf9msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-47cq-789h-r82vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-49fh-hq93-3qpfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4f76-r58r-w67hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4j9q-3jfj-84v5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4jxp-h52x-v4g8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4mvj-88cp-xr34same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4rv5-qq2m-x759same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4w8r-2qrx-vgj5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wjw-c7f3-3jf6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4xv7-fc57-vq5msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-548h-vhx7-gggxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5752-cp27-pqmmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-57jc-hj2q-v4p9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j54-vj2w-5w59same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j5r-vcgm-q3mjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5qwj-92q2-j552same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5v3v-q39m-ff8wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5w5f-fjjj-gw69same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6fm9-879f-6c2csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6wf5-g9r6-hf3vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6wjh-8rp3-49r7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-75pc-q59h-fjc7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-76v4-4c3p-p56xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-78w8-3w4m-w467same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7m6h-grcw-gv72same flawChainguard · CC-BY-NC-ND-4.0
- CGA-855j-8rm6-rrjmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8g39-2r3r-644qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8hfj-f9gx-782psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8mx3-fw2p-c9rwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8q5h-fhpf-vfhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8rmm-q963-4vfhsame flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2024-05-14
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-grv7-fg5c-xmjg
Frequently asked questions
What is CVE-2024-4068?
Is CVE-2024-4068 actively exploited?
What is the CVSS score for CVE-2024-4068?
Running braces? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-44492same product
- CVE-2025-64756same product
- CVE-2026-25639same productAxios affected by Denial of Service via __proto__ Key in mergeConfig
- CVE-2026-40175same productAxios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain
- CVE-2026-33937same product
- CVE-2023-42282same product
- CVE-2024-4067same product
- CVE-2018-1109same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-grv7-fg5c-xmjg
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0