Vulnerability · Published May 28, 2021 · Assigned by mitre

CVE-2021-33623

High 7.5

In plain English

A high-severity security flaw in the node-trim-newlines package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.9%top 12.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-trim-newlines3.0.0+~3.0.0-1DEBIAN-CVE-2021-33623
Debian:13node-trim-newlines3.0.0+~3.0.0-1DEBIAN-CVE-2021-33623
Debian:14node-trim-newlines3.0.0+~3.0.0-1DEBIAN-CVE-2021-33623
Ubuntu:24.04:LTSnode-trim-newlinesno fix listedUBUNTU-CVE-2021-33623
Ubuntu:25.10node-trim-newlinesno fix listedUBUNTU-CVE-2021-33623
Ubuntu:26.04:LTSnode-trim-newlinesno fix listedUBUNTU-CVE-2021-33623
Ubuntu:26.10node-trim-newlinesno fix listedUBUNTU-CVE-2021-33623
npmtrim-newlines4.0.1GHSA-7p7h-4mm5-852v
npmtrim-newlines3.0.1GHSA-7p7h-4mm5-852v

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References