Medium, CVSS 5.3npmAmendedPublished
Uncontrolled Resource Consumption in trim-off-newlines
CVE-2021-23425 · GHSA-38fc-wpqx-33j7
- Affected
- npm trim-off-newlines < 1.0.3
- Fixed in
- 1.0.3· Vendor fix available
- Issue
- All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.
Recommended action: Upgrade to 1.0.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.