{"id":"CVE-2021-23425","details":"All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.","aliases":["GHSA-38fc-wpqx-33j7"],"modified":"2026-03-14T08:44:10.777846Z","published":"2021-08-18T17:15:08.067Z","related":["SNYK-JAVA-ORGWEBJARSNPM-1567197","SNYK-JS-TRIMOFFNEWLINES-1296850"],"references":[{"type":"ADVISORY","url":"https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stevemao/trim-off-newlines","events":[{"introduced":"0"},{"fixed":"c3b28d395cf249f77803e9e42e302d129e8b8a8f"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.0.3"}]}}],"versions":["v1.0.0","v1.0.1","v1.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23425.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}