Live threats

All CVEs / Trim-newlines Project

CVE-2021-33623Trim-newlines Project Trim-newlines

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
May 28, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Trim-newlines.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm trim-newlines < 3.0.1 3.0.1 npm install trim-newlines@3.0.1
npm trim-newlines ≥ 4.0.0 < 4.0.1 4.0.1 npm install trim-newlines@4.0.1

Per OSV / GitHub Advisories (GHSA-7p7h-4mm5-852v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
trim-newlines_projecttrim-newlines< 3.0.1
trim-newlines_projecttrim-newlines≥ 4.0.0 < 4.0.1
netappe-series_performance_analyzerall
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.