CVE-2021-23425

Regular Expression Denial of Service (ReDoS)

MEDIUM
5.3
CVSS Score
Published: August 18, 2021 at 04:15 PM UTC
Updated: June 17, 2026 at 03:38 AM UTC
1 product affected across 1 vendorTrim Off Newlines

Using trim-off-newlines by N/A?

Get instant alerts when new vulnerabilities affect trim-off-newlines - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 2%

Description

All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.0.3
Affected range stops below 1.0.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (3)

x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850

CVSS

5.3MEDIUMsnyk
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card