CVE-2017-18077: Input Validation
A Regular expression denial-of-service vulnerability was found in nodejs-brace-expansion. Running a specially crafted command would cause the application to hang for long periods of time.
References:
https://snyk.io/vuln/npm:brace-expansion:20170302
Upstream bug:
https://github.com/juliangruber/brace-expansion/issues/33
Upstream patch:
https://github.com/juliangruber/brace-expansion/pull/35/commits/b13381281cead487cbdbfd6a69fb097ea5e456c3
Other sources
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 characters.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/rh-nodejs8-nodejsto a version that resolves this vulnerability.Fixed in 0:8.17.0-2.el7 - Upgrade
Upgrade
redhat/nodejs-brace-expansionto a version that resolves this vulnerability.Fixed in 1.1.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.1.7