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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com issue-tracking patch release-notes
- www.npmjs.com issue-tracking product
- security.netapp.com third-party-advisory
- [debian-lts-announce] 20221223 [SECURITY] [DLA 3247-1] node-trim-newlines security update mailing-list third-party-advisory
- github.com patch
- github.com
- Debian Security Tracker CVE-2021-33623 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5999-1 vendor-advisory
- www.cve.org issue-tracking
- github.com product