{"id":"GHSA-qx4v-6gc5-f2vv","aliases":["GHSA-qx4v-6gc5-f2vv"],"related":[],"kind":"vulnerability","state":"published","title":"Regular Expression Denial of Service","summary":"A Regular Expression Denial of Service vulnerability was discovered in esm before 3.1.0. The issue is that esm's find-indexes is using the unescaped identifiers in a regex, which, in this case, causes an infinite loop.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"A Regular Expression Denial of Service vulnerability was discovered in esm before 3.1.0. The issue is that esm's find-indexes is using the unescaped identifiers in a regex, which, in this case, causes an infinite loop.","format":"markdown","source":"ghsa"}],"published":"2019-06-20T14:32:56.000Z","modified":"2021-02-25T17:20:28.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.0"}],"ecosystem":"npm","package":"esm","purl":"pkg:npm/esm","source":"ghsa"}],"references":[{"url":"https://github.com/standard-things/esm/issues/694","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/standard-things/esm/commit/c41e001d81a5a52b0d2d1722b1c2af04d997c05b","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qx4v-6gc5-f2vv","url":"https://github.com/advisories/GHSA-qx4v-6gc5-f2vv","licence":"CC-BY-4.0","modified":"2021-02-25T17:20:28.000Z"}],"updatedAt":"2026-11-25T22:56:46.359Z"}