{"id":"CVE-2021-33623","published":"2021-05-28T00:00:00Z","modified":"2024-08-03T23:58:21Z","title":"The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression…","vendor":null,"product":null,"tier":"tail","description":{"text":"The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02925,"percentile":0.87388,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.npmjs.com/package/trim-newlines","tags":[]},{"url":"https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210702-0007/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html","tags":["mailing-list"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":17.48}]},"affected":[{"ecosystem":"npm","package":"trim-newlines","vulnerableRanges":["<3.0.1",">=4.0.0, <4.0.1"],"patched":["3.0.1","4.0.1"],"from":["GHSA-7p7h-4mm5-852v"],"provenance":"source"}],"summary":{"text":"The trim-newlines npm package for Node.js, in versions before 3.0.1 and 4.x before 4.0.1, contains a regular expression denial-of-service (ReDoS) flaw in its .end() method.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:16Z"},"euvd":{"id":"EUVD-2021-1281","exploited":false,"provenance":"source"}}