CVE-2021-23425
MEDIUMCVSS 5.3/10EPSS 1.93%
Last modified
CVE-2021-23425 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.. EPSS estimates a 1.93% chance of exploitation in the next 30 days.
Description
All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected Software
| 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 Link, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850Exploit, Third Party Advisory
- https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6Broken Link, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23425?
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 a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 1.93% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23425?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-2342Vulnerability in the MySQL Server product of Oracle MySQL (c…4.9
- CVE-2021-23420This affects the package codeception/codeception from 4.0.0 …9.8
- CVE-2021-23421All versions of package merge-change are vulnerable to Proto…9.8
- CVE-2021-23422This affects the package bikeshed before 3.0.0. This can occ…7.8
- CVE-2021-23423This affects the package bikeshed before 3.0.0. This can occ…7.5
- CVE-2021-23424This affects all versions of package ansi-html. If an attack…7.5
- CVE-2021-23426This affects all versions of package Proto. It is possible t…7.5
- CVE-2021-23427This affects all versions of package elFinder.NetCore. The E…9.8
- CVE-2021-23428This affects all versions of package elFinder.NetCore. The P…9.8
- CVE-2021-23429All versions of package transpile are vulnerable to Denial o…7.5
- CVE-2021-2343Vulnerability in the Oracle Workflow product of Oracle E-Bus…4.3
- CVE-2021-23430All versions of package startserver are vulnerable to Direct…7.5
Are you affected by CVE-2021-23425?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
