CVE-2017-18077: Input Validation

Published Mar 2, 2017
·
Updated

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

3 affected componentsFixes available
redhat/rh-nodejs8-nodejs<0:8.17.0-2.el7
0:8.17.0-2.el7
redhat/nodejs-brace-expansion<1.1.7
1.1.7
Brace Expansion Project Brace Expansion<1.1.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-nodejs8-nodejs to a version that resolves this vulnerability.

    Fixed in 0:8.17.0-2.el7
  2. Upgrade

    Upgrade redhat/nodejs-brace-expansion to a version that resolves this vulnerability.

    Fixed in 1.1.7
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.1.7

Event History

Mar 2, 2017
CVE Published
12:00 AM
Jan 27, 2018
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203