CVEfocus › CVE database › CVE-2020-28500

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

CVSS 5.3 MediumEPSS 7.4% (higher than 95% of CVEs)Published 2021-02-15Updated 2026-10-08Assigner: snyk

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

What to do

Fixed builds are available from Debian, RubyGems, npm: see the table below for the fixed version per release.

Ubuntu, npm have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
5Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10node-lodashNot affected
vulnerable_code_not_present
Ubuntu 20.04node-lodashFix pending4.17.15+dfsg-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-28500
Ubuntu 18.04node-lodashFix pending4.17.4+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-28500
Ubuntu 16.04node-lodashFix pending
Debian 14node-lodashFixed4.17.21+dfsg+~cs8.31.173-1DEBIAN-CVE-2020-28500
Debian 13node-lodashFixed4.17.21+dfsg+~cs8.31.173-1DEBIAN-CVE-2020-28500
Debian 12node-lodashFixed4.17.21+dfsg+~cs8.31.173-1DEBIAN-CVE-2020-28500
npm librarylodashFixed4.17.21GHSA-29mw-wpgm-hmr9
npm librarylodash-esFixed4.17.21GHSA-29mw-wpgm-hmr9
RubyGems librarylodash-railsFixed4.17.21GHSA-29mw-wpgm-hmr9
npm librarylodash.trimFix pendingGHSA-29mw-wpgm-hmr9
npm librarylodash.trimendFix pendingGHSA-29mw-wpgm-hmr9

What the vendor says

As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.