Vulnerability · Published Feb 15, 2021 · Assigned by snyk

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

Medium 5.3

In plain English

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

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)7.3%top 5.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-lodash4.17.21+dfsg+~cs8.31.173-1DEBIAN-CVE-2020-28500
Debian:13node-lodash4.17.21+dfsg+~cs8.31.173-1DEBIAN-CVE-2020-28500
Debian:14node-lodash4.17.21+dfsg+~cs8.31.173-1DEBIAN-CVE-2020-28500
RubyGemslodash-rails4.17.21GHSA-29mw-wpgm-hmr9
Ubuntu:25.10node-lodash4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.25.10.1USN-8411-1
npmlodash4.17.21GHSA-29mw-wpgm-hmr9
npmlodash-es4.17.21GHSA-29mw-wpgm-hmr9
npmlodash.trimno fix listedGHSA-29mw-wpgm-hmr9
npmlodash.trimendno fix listedGHSA-29mw-wpgm-hmr9

Affected products (as reported)

VendorProductVersions
n/a Lodash versions prior to 4.17.21

References