ADVISORIES

GitHub Advisory Database

GHSA-38fc-wpqx-33j7

Uncontrolled Resource Consumption in trim-off-newlines

Moderate CVE-2021-23425

Details

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

Affected packages

EcosystemPackageAffected versions
npmtrim-off-newlines
All versions before 1.0.3 (fixed in 1.0.3)

References