CVE-2021-33623

nodejs-trim-newlines: ReDoS in .end() method

Published May 28, 2021 CVSS 3.1 · 7.5 High EPSS 2.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3247-1 node-trim-newlines security update
EUVD EUVD EUVD-2021-1281 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.
Github GHSA Github GHSA GHSA-7p7h-4mm5-852v Uncontrolled Resource Consumption in trim-newlines
Ubuntu USN Ubuntu USN USN-5999-1 trim-newlines vulnerability
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.4::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.4::el8
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 11:58 PM
Reserved
May 28, 2021, 12:00 AM
Status
Modified
Published
May 28, 2021, 6:15 PM
Modified
Jun 17, 2026, 3:54 AM
Severity
Moderate
Public date
May 28, 2021, 12:00 AM