{"id":"GHSA-832h-xg76-4gv6","summary":"ReDoS in brace-expansion","details":"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.","aliases":["CVE-2017-18077"],"modified":"2023-11-01T04:48:03.664431Z","published":"2018-01-29T15:50:46Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-1333"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:24:01Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18077"},{"type":"WEB","url":"https://github.com/juliangruber/brace-expansion/issues/33"},{"type":"WEB","url":"https://github.com/juliangruber/brace-expansion/pull/35"},{"type":"WEB","url":"https://github.com/juliangruber/brace-expansion/pull/35/commits/b13381281cead487cbdbfd6a69fb097ea5e456c3"},{"type":"WEB","url":"https://bugs.debian.org/862712"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-832h-xg76-4gv6"},{"type":"PACKAGE","url":"https://github.com/juliangruber/brace-expansion"},{"type":"WEB","url":"https://www.npmjs.com/advisories/338"}],"affected":[{"package":{"name":"brace-expansion","ecosystem":"npm","purl":"pkg:npm/brace-expansion"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/01/GHSA-832h-xg76-4gv6/GHSA-832h-xg76-4gv6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}