# GHSA-qx4v-6gc5-f2vv: Regular Expression Denial of Service

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-20T14:32:56.000Z
- Modified: 2021-02-25T17:20:28.000Z
- Weaknesses: CWE-400

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- esm (npm): before 3.1.0

## References

- <https://github.com/standard-things/esm/issues/694> (web)
- <https://github.com/standard-things/esm/commit/c41e001d81a5a52b0d2d1722b1c2af04d997c05b> (web)

## Sources

- GitHub Advisory Database: [GHSA-qx4v-6gc5-f2vv](https://github.com/advisories/GHSA-qx4v-6gc5-f2vv), CC-BY-4.0, modified 2021-02-25

---

Page: https://cve.day/GHSA-qx4v-6gc5-f2vv · Whole record: https://cve.day/GHSA-qx4v-6gc5-f2vv.json · Rebuilt by cve.day 2026-11-25T22:56:46.359Z
