Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | buster | node-trim-newlines | Advisory build | 1.0.0-1+deb10u1 | DLA-3247-1 |
| Ubuntu | bionic | node-trim-newlines | Advisory build | 1.0.0-1ubuntu0.18.04.1 | USN-5999-1 |
| Ubuntu | focal | node-trim-newlines | Advisory build | 1.0.0-1ubuntu0.20.04.1 | USN-5999-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1
- [debian-lts-announce] 20221223 [SECURITY] [DLA 3247-1] node-trim-newlines security update https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html
- https://security.netapp.com/advisory/ntap-20210702-0007/
- https://www.npmjs.com/package/trim-newlines
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7dbec65bcc41eef909adec12c8d527ceea6dc8dd5b6eb37bb96eb54099409998
- Ingested
- 23 Sep 2026, 07:54:43 UTC
- Source record
- Official CVE record