HIGH
CVE-2021-33623
CWE-400Published: May 28, 2021· Updated: Jun 17, 2026
7.5
CVSS v3.1
Official 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.
Technical Analysis
CVE-2021-33623 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in availability disruption (denial of service), with a CVSS base score of 7.5.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Vendors & Products
Debian1 product(s)
debian linux
netapp1 product(s)
e-series performance analyzer
trim-newlines_project1 product(s)
trim-newlines
Source: NVD CPE · 3 total CPE entries
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (8)
→
https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1Patch · Release Notes
→
https://lists.debian.org/debian-lts-announce/2022/12/msg00033.htmlMailing List · Third Party Advisory
→
https://security.netapp.com/advisory/ntap-20210702-0007/Third Party Advisory
→
https://github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1Patch · Release Notes
→
https://lists.debian.org/debian-lts-announce/2022/12/msg00033.htmlMailing List · Third Party Advisory
→
https://security.netapp.com/advisory/ntap-20210702-0007/Third Party Advisory
Quick Facts
CVE IDCVE-2021-33623
CVSS Score7.5 / 10
SeverityHIGH
WeaknessCWE-400
CISA KEVNo
Affected3 vendor(s)
PublishedMay 28, 2021
Related CVEs (CWE-400)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-33623 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.