{"cve":"CVE-2021-23425","nvd":{"published":"2021-08-18T17:15:08.067","modified":"2026-06-17T03:38:44.400","status":"Modified","description":"All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":[],"references":["https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197","https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850","https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197"],"products":["trim-off-newlines_project:trim-off-newlines"],"source":"nvd","synced_at":"2026-10-19T21:21:57.125947417+00:00"},"epss":{"cve":"CVE-2021-23425","score":0.01927,"percentile":0.79967,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-38fc-wpqx-33j7","url":"https://osv.dev/vulnerability/GHSA-38fc-wpqx-33j7","summary":"Uncontrolled Resource Consumption in trim-off-newlines","modified":"2025-01-14T09:12:05.938637Z","packages":[{"ecosystem":"npm","name":"trim-off-newlines","purl":"pkg:npm/trim-off-newlines","ranges":["<1.0.3"],"fixed":["1.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}