
CVE catalog
CVE-2021-33623
node-trim-newlines: CVE-2021-33623
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.93% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-trim-newlines | sid | 3.0.0+~3.0.0-1 | fixed |
| Debian | node-trim-newlines | forky | 3.0.0+~3.0.0-1 | fixed |
| Debian | node-trim-newlines | trixie | 3.0.0+~3.0.0-1 | fixed |
| Debian | node-trim-newlines | bookworm | 3.0.0+~3.0.0-1 | fixed |
| Ubuntu | node-trim-newlines | 18.04 | 1.0.0-1 | vulnerable |
| Ubuntu | node-trim-newlines | 18.04 | 1.0.0-1ubuntu0.18.04.1 | fixed |
| Ubuntu | node-trim-newlines | 20.04 | 1.0.0-1 | vulnerable |
| Ubuntu | node-trim-newlines | 20.04 | 1.0.0-1ubuntu0.20.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-trim-newlines | source | sid | 3.0.0+~3.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | node-trim-newlines | source | forky | 3.0.0+~3.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | node-trim-newlines | source | trixie | 3.0.0+~3.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | node-trim-newlines | source | bookworm | 3.0.0+~3.0.0-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | node-trim-newlines | deb | 18.04 | 1.0.0-1ubuntu0.18.04.1 | Not reported | USN-5999-1 | Not reported |
| Ubuntu | node-trim-newlines | deb | 20.04 | 1.0.0-1ubuntu0.20.04.1 | Not reported | USN-5999-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-trim-newlines]Fixed
Details (2)
3.0.0+~3.0.0-1· all · bookwormFixed · Fixed:
3.0.0+~3.0.0-1dsa · node-trim-newlines · debian · bookworm; dsa · node-trim-newlines · debian · 12
3.0.0+~3.0.0-1· all · bookwormFixed · Fixed:
3.0.0+~3.0.0-1dsa · node-trim-newlines · debian · bookworm; dsa · node-trim-newlines · debian · 12
[Debian 13 (Trixie)]
- [node-trim-newlines]Fixed
Details (2)
3.0.0+~3.0.0-1· all · trixieFixed · Fixed:
3.0.0+~3.0.0-1dsa · node-trim-newlines · debian · 13
3.0.0+~3.0.0-1· all · trixieFixed · Fixed:
3.0.0+~3.0.0-1dsa · node-trim-newlines · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-33623]
- [https://osv.dev/vulnerability/DLA-3247-1]
- [https://osv.dev/vulnerability/USN-5999-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-33623]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-33623.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0699.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]