ReDoS in brace-expansion
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2017-18077US | high7.5 | — | ||
index.js in brace-expansion before 1.1.7 is vulnerable to Regular Expression Denial of Service (ReDoS) attacks, as demonstrated by an expand argument containing many comma characte… | ||||
02
references
External citations — patches, advisories, analysis.
- https://bugs.debian.org/862712WEB
- https://github.com/advisories/GHSA-832h-xg76-4gv6ADVISORY
- https://github.com/juliangruber/brace-expansionPACKAGE
- https://github.com/juliangruber/brace-expansion/issues/33WEB
- https://github.com/juliangruber/brace-expansion/pull/35WEB
- https://github.com/juliangruber/brace-expansion/pull/35/commits/b13381281cead487cbdbfd6a69fb097ea5e456c3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-18077ADVISORY
- https://www.npmjs.com/advisories/338WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan