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.
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
