CVEvulnerability
CVE-2021-23425
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-08-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Description
All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.
Affected configurations
• trim-off-newlines project trim-off-newlines (< 1.0.3)
References
- https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6 Broken Link, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850 Exploit, Third Party Advisory
- https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6 Broken Link, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850 Exploit, Third Party Advisory