Packages / brace-expansion / Security
brace-expansion Regular Expression Denial of Service vulnerability
Affected releases · brace-expansion
- 4.x4.0.0Fixed in 4.0.1
- 3.x3.0.0Fixed in 3.0.1
- 2.x2.0.0 – 2.0.1Fixed in 2.0.2
- 1.x1.0.0 – 1.1.11Fixed in 1.1.12
On 4.x, the newest line:
npm install brace-expansion@4.0.1Every release on a timeline
Not affected
5.0.2 – 5.0.13
12 releases, latest
Affected
4.0.0
1 release
Fixed
4.0.1
1 release
Affected
3.0.0
1 release
Fixed
3.0.1 – 3.0.10
10 releases
Affected
2.0.0 – 2.0.1
2 releases
Fixed
2.0.2 – 2.1.8
11 releases
Affected
1.0.0 – 1.1.11
14 releases
Fixed
1.1.12 – 1.1.22
11 releases
What happens
A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.