CVE-2021-23425
MEDIUMtrim-off-newlines < 1.0.3 - Regular Expression Denial of Service via String Processing
Title source: llmDescription
All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.
References (3)
Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197
Broken Link, Third Party Advisory x_refsource_misc
https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6
Scores
CVSS v3
5.3
EPSS
0.0193
EPSS Percentile
77.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Details
Status
published
Products (2)
npm/trim-off-newlines
0 - 1.0.3npm
trim-off-newlines_project/trim-off-newlines
< 1.0.3
Published
Aug 18, 2021
Tracked Since
Feb 18, 2026