CVE-2017-18077
HIGH7.5EPSS 0.52%ReDoS in brace-expansion
Published: 1/29/2018Modified: 11/8/2023
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 packages (2)
- Debian/node-brace-expansionfrom 0, < 1.1.8-1
- npm/brace-expansionfrom 0, < 1.1.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (9)
- ADVISORYhttps://github.com/advisories/GHSA-832h-xg76-4gv6
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-18077
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-18077
- PATCHhttps://github.com/juliangruber/brace-expansion
- WEBhttps://bugs.debian.org/862712
- WEBhttps://github.com/juliangruber/brace-expansion/issues/33
- WEBhttps://github.com/juliangruber/brace-expansion/pull/35
- WEBhttps://github.com/juliangruber/brace-expansion/pull/35/commits/b13381281cead487cbdbfd6a69fb097ea5e456c3
- WEBhttps://www.npmjs.com/advisories/338