Vulnerability · Published Aug 18, 2021 · Assigned by snyk

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

Medium 5.3

In plain English

A medium-severity security flaw in trim-off-newlines. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.9%top 19.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmtrim-off-newlines1.0.3GHSA-38fc-wpqx-33j7

Affected products (as reported)

VendorProductVersions
n/a trim-off-newlines 0 – before unspecified

References