{"id":"CVE-2017-18077","aliases":["CLSA-2026-1792163293","DEBIAN-CVE-2017-18077","EUVD-2018-0155","GHSA-832h-xg76-4gv6","RHSA-2020:2625"],"status":"published","title":"ReDoS in brace-expansion","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0258,"percentile":0.85332,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-20"],"published":"2018-01-27T12:00:00Z","modified":"2026-10-20T10:50:32Z","fixes":[{"ecosystem":"npm","package":"brace-expansion","fixed_in":["1.1.7"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"brace-expansion","fixed_in":["1.1.3-tuxcare.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"node-brace-expansion","fixed_in":["1.1.8-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-brace-expansion","fixed_in":["1.1.8-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-brace-expansion","fixed_in":["1.1.8-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"brace-expansion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"brace-expansion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.3-tuxcare.0"},{"fixed":"1.1.3-tuxcare.1"}]}],"versions":["1.1.3"]},{"source":"osv","ecosystem":"Debian:12","package":"node-brace-expansion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-brace-expansion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-brace-expansion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.8-1"}]}]},{"source":"osv","ecosystem":"npm","package":"brace-expansion","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.7"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-npm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.13.4-8.17.0.2.el7"}]}],"bundled":7}],"products":[{"vendor":"brace_expansion_project","product":"brace_expansion"}],"references":[{"url":"https://github.com/juliangruber/brace-expansion/pull/35/commits/b13381281cead487cbdbfd6a69fb097ea5e456c3","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nodesecurity.io/advisories/338","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/juliangruber/brace-expansion/issues/33","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://bugs.debian.org/862712","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18077","tags":["advisory"]},{"url":"https://github.com/juliangruber/brace-expansion/pull/35","tags":["web"]},{"url":"https://github.com/advisories/GHSA-832h-xg76-4gv6","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/338","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-18077","tags":["advisory"]},{"url":"https://github.com/juliangruber/brace-expansion","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2020:2625","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1448380","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1567228","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1578246","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1611613","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788301","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788305","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788310","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1829414","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2625.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-18077","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18077","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-18869","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18869","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18869","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-3737","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3737","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3737","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-3750","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3750","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3750","tags":["advisory"]},{"url":"https://hackerone.com/reports/311333","tags":["article"]},{"url":"https://nodesecurity.io/advisories/612","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-16775","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16775","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16775","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-16776","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16776","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16776","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-16777","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16777","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16777","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2017-18077","description":"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.","status":"published","published":"2018-01-27T12:00:00Z","modified":"2024-09-17T00:56:19.603Z","updated_at":"2026-11-02T14:33:22.064284Z"}],"euvd":[{"id":"EUVD-2018-0155","description":"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.","status":"published","published":"2018-01-27T12:00:00Z","modified":"2024-09-17T00:56:19Z","updated_at":"2026-11-03T00:28:54.507992Z"}],"ghsa":[{"id":"GHSA-832h-xg76-4gv6","title":"ReDoS in brace-expansion","description":"Affected versions of `brace-expansion` are vulnerable to a regular expression denial of service condition.\n\n## Proof of Concept\n\n```\nvar expand = require('brace-expansion');\nexpand('{,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\\n}');\n```\n\n\n## Recommendation\n\nUpdate to version 1.1.7 or later.","status":"published","published":"2018-01-29T15:50:46Z","modified":"2023-04-11T00:23:11Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:36:50.476488Z"}],"nvd":[{"id":"CVE-2017-18077","description":"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.","status":"published","published":"2018-01-27T12:29:00.217Z","modified":"2026-06-17T01:12:09.717Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:04:13.257031Z"}],"osv":[{"id":"CVE-2017-18077","description":"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.","status":"published","published":"2018-01-27T12:29:00.217Z","modified":"2026-10-20T10:50:32.378150986Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-18077","description":"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.","status":"published","published":"2018-01-27T12:29:00.217Z","modified":"2026-09-01T20:03:47.460089645Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"GHSA-832h-xg76-4gv6","title":"ReDoS in brace-expansion","description":"Affected versions of `brace-expansion` are vulnerable to a regular expression denial of service condition.\n\n## Proof of Concept\n\n```\nvar expand = require('brace-expansion');\nexpand('{,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\\n}');\n```\n\n\n## Recommendation\n\nUpdate to version 1.1.7 or later.","status":"published","published":"2018-01-29T15:50:46Z","modified":"2023-11-08T03:59:15.193726Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:41.732368Z"},{"id":"RHSA-2020:2625","title":"Red Hat Security Advisory: rh-nodejs8-nodejs security update","status":"published","published":"2024-09-13T16:20:13Z","modified":"2026-06-28T10:37:33Z","cvss":[{"version":"3.0","score":7.7,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:07.072948Z"},{"id":"CLSA-2026-1792163293","title":"TuxCare security update for brace-expansion (1 CVE)","description":"TuxCare rebuilt brace-expansion to address 1 CVE. Fixed in 1.1.3-tuxcare.1.","status":"published","published":"2026-10-16T15:08:13Z","modified":"2026-10-16T16:31:39.311659743Z","updated_at":"2026-11-02T15:43:51.466048Z"}]}}
