Vulnerability Description
All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.
CVSS Score
5.3
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Trim-Off-Newlines Project | Trim-Off-Newlines | < 1.0.3 |
References
- https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6Broken LinkThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850ExploitThird Party Advisory
- https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6Broken LinkThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850ExploitThird Party Advisory
FAQ
What is CVE-2021-23425?
CVE-2021-23425 is a vulnerability with a CVSS score of 5.3 (MEDIUM). All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.
How severe is CVE-2021-23425?
CVE-2021-23425 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23425?
Check the references section above for vendor advisories and patch information. Affected products include: Trim-Off-Newlines Project Trim-Off-Newlines.