High severity · published May 28, 2021
CVE-2021-33623
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
7.5
CVSS
2.9%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.9% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
10.0 · source: NVD
EP
E-series Performance Analyzer · Netapp
All versions, or not specified · source: NVD
TR
Trim-newlines · Trim-newlines Project
before 3.0.1; 4.0.0 before 4.0.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-33623
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-33623
Patch
https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1
Mailing List
https://lists.debian.org/debian-lts-announce/2022/12/msg00033.html
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210702-0007/
Product
https://www.npmjs.com/package/trim-newlines
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
