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
- Finance.js vulnerable to DoS via the seekZero() parameter - CVE-2025-56572
- Stimulsoft Dashboard.JS directory traversal vulnerability - CVE-2024-24398
- Inefficient Regular Expression Complexity in handsontable - CVE-2021-23446
- Regular Expression Denial of Service in jquery-validation - CVE-2021-21252
- Tags:
- npm
- esm
Anything's wrong? Let us know Last updated on January 09, 2023