NodeJS/braces/3.0.1


Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

https://www.npmjs.com/package/braces
MIT

1 Security Vulnerabilities

Uncontrolled resource consumption in braces

Published date: 2024-05-14T18:30:54Z
CVE: CVE-2024-4068
Links:

The NPM package braces 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.

Affected versions: ["0.1.1", "1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.5.1", "1.8.0", "1.8.2", "1.8.4", "2.0.1", "2.1.0", "2.2.0", "2.2.1", "2.3.0", "2.3.2", "3.0.0", "0.1.0", "0.1.2", "0.1.4", "0.1.5", "1.4.0", "1.5.0", "1.6.0", "1.7.0", "1.8.1", "1.8.3", "1.8.5", "2.0.0", "2.0.2", "2.0.3", "2.0.4", "2.1.1", "2.2.2", "2.3.1", "3.0.1", "3.0.2"]
Secure versions: [3.0.3]
Recommendation: Update to version 3.0.3.

37 Other Versions

Version License Security Released
3.0.3 MIT 2024-05-21 - 08:59 about 1 year
3.0.2 MIT 1 2019-04-16 - 19:51 about 6 years
3.0.1 MIT 1 2019-04-10 - 11:30 over 6 years
3.0.0 MIT 1 2019-04-08 - 22:47 over 6 years
2.3.2 MIT 1 2018-04-08 - 14:21 over 7 years
2.3.1 MIT 1 2018-02-18 - 04:16 over 7 years
2.3.0 MIT 3 2017-10-19 - 13:37 over 7 years
2.2.2 MIT 3 2017-05-31 - 09:56 about 8 years
2.2.1 MIT 3 2017-05-31 - 01:21 about 8 years
2.2.0 MIT 3 2017-05-28 - 23:30 about 8 years
2.1.1 MIT 3 2017-04-27 - 08:10 about 8 years
2.1.0 MIT 3 2017-04-26 - 22:39 about 8 years
2.0.4 MIT 3 2017-04-12 - 01:12 over 8 years
2.0.3 MIT 3 2016-12-11 - 01:13 over 8 years
2.0.2 MIT 3 2016-10-21 - 06:46 over 8 years
2.0.1 MIT 3 2016-10-20 - 21:05 over 8 years
2.0.0 MIT 3 2016-10-20 - 01:32 over 8 years
1.8.5 MIT 3 2016-05-21 - 15:13 about 9 years
1.8.4 MIT 3 2016-04-20 - 08:24 about 9 years
1.8.3 MIT 3 2015-12-19 - 23:03 over 9 years
1.8.2 MIT 3 2015-10-19 - 17:46 over 9 years
1.8.1 MIT 3 2015-08-21 - 10:17 almost 10 years
1.8.0 MIT 3 2015-03-18 - 11:37 over 10 years
1.7.0 MIT 3 2015-01-31 - 00:24 over 10 years
1.6.0 MIT 3 2015-01-30 - 13:35 over 10 years
1.5.1 MIT 3 2015-01-30 - 13:27 over 10 years
1.5.0 MIT 3 2015-01-28 - 18:08 over 10 years
1.4.0 MIT 3 2015-01-25 - 00:33 over 10 years
1.3.0 MIT 3 2015-01-24 - 11:32 over 10 years
1.2.0 MIT 3 2015-01-16 - 11:55 over 10 years
1.1.0 MIT 3 2015-01-12 - 00:45 over 10 years
1.0.0 MIT 3 2014-12-23 - 11:35 over 10 years
0.1.5 MIT 3 2014-11-24 - 02:08 over 10 years
0.1.4 MIT 3 2014-11-15 - 03:24 over 10 years
0.1.2 MIT 3 2014-10-22 - 18:51 over 10 years
0.1.1 MIT 3 2014-10-22 - 18:19 over 10 years
0.1.0 MIT 3 2014-10-20 - 16:26 over 10 years