Skip to content

CVE-2021-23425 Regular Expression Denial of Service (ReDoS)

MediumCVSS 5.3 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

Description

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm trim-off-newlines(npm) < 1.0.3 1.0.3 Fixed
trim-off-newlines project trim-off-newlines < 1.0.3 1.0.3 Fixed

Affected products

ProductAffected versionsFixed in
npm trim-off-newlines(npm) < 1.0.3 1.0.3
trim-off-newlines project trim-off-newlines < 1.0.3 1.0.3

References