UnratednpmAmendedPublished
Regular Expression Denial of Service
GHSA-qx4v-6gc5-f2vv
- Affected
- npm esm < 3.1.0
- Fixed in
- 3.1.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.