Skip to content
OpenAdvisories
Medium · 5.3 CVE-2020-28500 EUVD-2022-0424GHSA-29mw-wpgm-hmr9

Regular Expression Denial of Service (ReDoS)

Published Feb 15, 2021 · Updated Oct 8, 2026 · Assigned by snyk

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 products

VendorProductAffectedFixed
— Lodash versions prior to 4.17.21 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-lodash 4.17.21+dfsg+~cs8.31.173-1 —
Debian 13 node-lodash 4.17.21+dfsg+~cs8.31.173-1 —
Debian 12 node-lodash 4.17.21+dfsg+~cs8.31.173-1 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 node-lodash 4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.25.10.1 USN-8411-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS node-lodash 4.17.23+dfsg-1ubuntu0.1~esm1 USN-8411-1
Ubuntu Pro 24.04 LTS node-lodash 4.17.21+dfsg+~cs8.31.198.20210220-9ubuntu0.24.04.1~esm1 USN-8411-1
Ubuntu Pro 22.04 LTS node-lodash 4.17.21+dfsg+~cs8.31.198.20210220-5ubuntu0.1~esm1 USN-8411-1
Ubuntu Pro 20.04 LTS node-lodash 4.17.15+dfsg-2ubuntu0.1~esm1 USN-8411-1
Ubuntu Pro 18.04 LTS node-lodash 4.17.4+dfsg-1ubuntu0.1~esm1 USN-8411-1
Ubuntu Pro 16.04 LTS node-lodash 2.4.1+dfsg-3ubuntu0.1~esm1 USN-8411-1
ReleasePackageFixed inAdvisory
Red Hat Rhev Manager 4 ovirt-engine-ui-extensions 1.2.6-1.el8ev RHSA-2021:2179
Red Hat Rhev Manager 4 ovirt-web-ui 1.6.9-1.el8ev RHSA-2021:2179
Red Hat Rhev Hypervisor 4 cockpit-ovirt +1 0.15.1-2.el8ev RHSA-2021:3459

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm lodash >= 4.0.0, < 4.17.21 4.17.21 GHSA-29mw-wpgm-hmr9
npm lodash-es >= 4.0.0, < 4.17.21 4.17.21 GHSA-29mw-wpgm-hmr9
npm lodash.trim >= 4.0.0, <= 4.5.1 — GHSA-29mw-wpgm-hmr9
npm lodash.trimend >= 4.0.0, <= 4.5.1 — GHSA-29mw-wpgm-hmr9
RubyGems lodash-rails >= 4.0.0, < 4.17.21 4.17.21 GHSA-29mw-wpgm-hmr9

Advisories 9

References