Description
All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.
Recommendation
Update the trim-off-newlines package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.0.3
- Patched version(s): 1.0.3
References
Related Issues
- Uncontrolled Resource Consumption in trim-newlines - CVE-2021-33623
- Uncontrolled Resource Consumption in ansi-html - CVE-2021-23424
- Uncontrolled Resource Consumption in transpile - CVE-2021-23429
- graphql Uncontrolled Resource Consumption vulnerability - CVE-2023-26144
You might also like:
- Tags:
- npm
- trim-off-newlines
Anything's wrong? Let us know Last updated on February 01, 2023


