Name | CVE-2021-33623 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3247-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
node-trim-newlines (PTS) | bullseye | 3.0.0-1+deb11u1 | fixed |
| sid, trixie, bookworm | 3.0.0+~3.0.0-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - node-trim-newlines <end-of-life> (Nodejs in stretch not covered by security support)
https://github.com/advisories/GHSA-7p7h-4mm5-852v
https://github.com/sindresorhus/trim-newlines/commit/25246c6ce5eea1c82d448998733a6302a4350d91 (v4.0.1)
https://github.com/sindresorhus/trim-newlines/commit/b10d5f4afef832b16bc56d49fc52c68cbd403869 (v3.0.1)