ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-4068

braces: fails to limit the number of characters it can handle

Moderate No fix available CVE-2024-4068

Details

A flaw was found in the NPM package braces. It 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 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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10nodejs-nodemon
All versions, no fix yet
Red Hat:enterprise_linux:6firefox
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6thunderbird
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7firefox
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7thunderbird
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8nodejs-nodemon
All versions, will not be fixed
Red Hat:enterprise_linux:8pcs
All versions, will not be fixed
Red Hat:enterprise_linux:8pcs-snmp
All versions, will not be fixed
Red Hat:enterprise_linux:9nodejs-nodemon
All versions, will not be fixed
Red Hat:enterprise_linux:9pcs
All versions, will not be fixed
Red Hat:enterprise_linux:9pcs-snmp
All versions, will not be fixed

References