{"id":"CVE-2021-33623","aliases":["GHSA-7p7h-4mm5-852v"],"url":"https://o3.security/vulnerability/CVE-2021-33623","summary":"Uncontrolled Resource Consumption in trim-newlines","details":"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.","published":"2021-05-28T18:15:07.537Z","modified":"2026-07-08T15:29:23.175265958Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"trim-newlines","fixedVersion":"3.0.1"},{"ecosystem":"npm","name":"trim-newlines","fixedVersion":"4.0.1"}],"fix":null,"references":[{"type":"WEB","url":"https://www.npmjs.com/package/trim-newlines"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210702-0007/"},{"type":"FIX","url":"https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T15:29:23.175265958Z"}}