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.
Recommendation
Update the esm package to the latest compatible version. Followings are version details:
- Affected version(s): < 3.1.0
- Patched version(s): 3.1.0
References
Related Issues
- Regular Expression Denial of Service in marked (GHSA-ch52-vgq2-943f) - Vulnerability
- Regular Expression Denial of Service (GHSA-6394-6h9h-cfjg) - Vulnerability
- Regular Expression Denial of Service (ReDoS) - Vulnerability
- Regular Expression Denial of Service in marked (GHSA-x5pg-88wf-qq4p) - CVE-2017-16114
- Tags:
- npm
- esm
Anything's wrong? Let us know Last updated on January 09, 2023