Skip to content

CVE-2021-33623 Uncontrolled Resource Consumption in trim-newlines

HighCVSS 7.5 EPSS 2.9%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

13 packages: 7 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
netapp e-series performance analyzer All versions No fix listed No fix yet
ubuntu/node-trim-newlines(Ubuntu 24.04) = 3.0.0+~3.0.0-1; All versions No fix listed No fix yet
ubuntu/node-trim-newlines(Ubuntu 25.10) = 3.0.0+~3.0.0-1; All versions No fix listed No fix yet
ubuntu/node-trim-newlines(Ubuntu 26.04) = 3.0.0+~3.0.0-1; All versions No fix listed No fix yet
ubuntu/node-trim-newlines(Ubuntu 26.10) = 3.0.0+~3.0.0-1; All versions No fix listed No fix yet
debian/node-trim-newlines(Debian 12) < 3.0.0+~3.0.0-1 3.0.0+~3.0.0-1 Fixed
debian/node-trim-newlines(Debian 13) < 3.0.0+~3.0.0-1 3.0.0+~3.0.0-1 Fixed
debian/node-trim-newlines(Debian 14) < 3.0.0+~3.0.0-1 3.0.0+~3.0.0-1 Fixed
npm trim-newlines(npm) < 3.0.1; = 4.0.0; >= 4.0.0, < 4.0.1 3.0.1, 4.0.1 Fixed
trim-newlines project trim-newlines < 3.0.1; >= 4.0.0, < 4.0.1 3.0.1, 4.0.1 Fixed
ubuntu/node-trim-newlines(Ubuntu 18.04) < 1.0.0-1ubuntu0.18.04.1; = 1.0.0-1 1.0.0-1ubuntu0.18.04.1 Fixed
ubuntu/node-trim-newlines(Ubuntu 20.04) < 1.0.0-1ubuntu0.20.04.1; = 1.0.0-1 1.0.0-1ubuntu0.20.04.1 Fixed
debian linux = 10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm trim-newlines(npm) < 3.0.1 3.0.1
npm trim-newlines(npm) = 4.0.0 No fix listed
debian/node-trim-newlines(Debian:12) < 3.0.0+~3.0.0-1 3.0.0+~3.0.0-1
debian/node-trim-newlines(Debian:13) < 3.0.0+~3.0.0-1 3.0.0+~3.0.0-1
debian/node-trim-newlines(Debian:14) < 3.0.0+~3.0.0-1 3.0.0+~3.0.0-1
trim-newlines project trim-newlines < 3.0.1 3.0.1
trim-newlines project trim-newlines >= 4.0.0, < 4.0.1 4.0.1
netapp e-series performance analyzer All versions No fix listed
debian linux = 10.0 No fix listed
ubuntu/node-trim-newlines(Ubuntu:24.04) All versions No fix listed
ubuntu/node-trim-newlines(Ubuntu:26.04) All versions No fix listed
ubuntu/node-trim-newlines(Ubuntu:26.10) All versions No fix listed
npm trim-newlines(npm) >= 4.0.0, < 4.0.1 4.0.1
ubuntu/node-trim-newlines(Ubuntu:18.04) < 1.0.0-1ubuntu0.18.04.1 1.0.0-1ubuntu0.18.04.1
ubuntu/node-trim-newlines(Ubuntu:18.04) = 1.0.0-1 No fix listed
ubuntu/node-trim-newlines(Ubuntu:20.04) < 1.0.0-1ubuntu0.20.04.1 1.0.0-1ubuntu0.20.04.1
ubuntu/node-trim-newlines(Ubuntu:20.04) = 1.0.0-1 No fix listed
ubuntu/node-trim-newlines(Ubuntu:24.04) = 3.0.0+~3.0.0-1 No fix listed
ubuntu/node-trim-newlines(Ubuntu:25.10) All versions No fix listed
ubuntu/node-trim-newlines(Ubuntu:25.10) = 3.0.0+~3.0.0-1 No fix listed
ubuntu/node-trim-newlines(Ubuntu:26.10) = 3.0.0+~3.0.0-1 No fix listed
ubuntu/node-trim-newlines(Ubuntu:26.04) = 3.0.0+~3.0.0-1 No fix listed

References