Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. esm
  4. ›
  5. GMS-2019-22

GMS-2019-22: Regular Expression Denial of Service

June 20, 2019 (updated February 25, 2021)

A Regular Expression Denial of Service vulnerability was discovered in esm The issue is that esm’s find-indexes is using the unescaped identifiers in a regex, which, in this case, causes an infinite loop.

References

  • github.com/advisories/GHSA-qx4v-6gc5-f2vv
  • github.com/standard-things/esm/commit/c41e001d81a5a52b0d2d1722b1c2af04d997c05b
  • github.com/standard-things/esm/issues/694

Code Behaviors & Features

Detect and mitigate GMS-2019-22 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.0

Fixed versions

  • 3.1.0

Solution

Upgrade to version 3.1.0 or above.

Source file

npm/esm/GMS-2019-22.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.