Vulnerability · Published Oct 27, 2020 · Assigned by snyk

CVE-2020-7753Regular Expression Denial of Service (ReDoS)

High 7.5

In plain English

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

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.8%top 10.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmtrim0.0.3GHSA-w5p7-h5w8-2hfq

Affected products (as reported)

VendorProductVersions
n/a trim 0 – before unspecified

References