Vulnerability record · CVE-2021-33623 · published 28 May 2021
CVE-2021-33623: Trim-newlines project trim-newlines uncontrolled resource consumption vulnerability
TTrim Newlines Project · Trim Newlines
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1 | PatchRelease Notes |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20210702-0007/ | Third Party Advisory |
| https://www.npmjs.com/package/trim-newlines | Product |
| https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1 | PatchRelease Notes |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20210702-0007/ | Third Party Advisory |
| https://www.npmjs.com/package/trim-newlines | Product |
Track CVE-2021-33623 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-33623), CISA KEV, FIRST EPSS (scores of 2026-10-02). This page is refreshed as NVD updates the record.