7.5
CWE
1050 400
EPSS
0.045%
Advisory Published
Advisory Published
Updated

CVE-2024-4068: Memory Exhaustion in braces

First published: Mon May 13 2024(Updated: )

Node.js braces module is vulnerable to a denial of service, caused by the failure to limit the number of characters it can handle. leading to a memory exhaustion in lib/parse.js. By sending imbalanced braces as input, the parsing will enter a loop causing the JavaScript heap limit to be reached, and the program will crash.

Credit: 596c5446-0ce5-4ba2-aa66-48b3b757a647 596c5446-0ce5-4ba2-aa66-48b3b757a647

Affected SoftwareAffected VersionHow to fix
npm/braces<3.0.3
3.0.3
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4

Remedy

Update to version 3.0.3 to mitigate the issue.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-4068?

    CVE-2024-4068 has a high severity rating due to its potential for denial of service through memory exhaustion.

  • How do I fix CVE-2024-4068?

    To fix CVE-2024-4068, upgrade the braces package to version 3.0.3 or apply relevant patches for affected IBM products.

  • What causes CVE-2024-4068?

    CVE-2024-4068 is caused by the inability of the braces module to limit the number of characters in input, leading to infinite loops and memory issues.

  • Which software is affected by CVE-2024-4068?

    CVE-2024-4068 affects the braces module in Node.js and IBM Cognos Analytics versions up to 12.0.3 and 11.2.4 FP4.

  • Is CVE-2024-4068 exploitable remotely?

    Yes, CVE-2024-4068 can be exploited remotely if an attacker can send specially crafted imbalanced braces as input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203