MediumGHSA-x5rq-j2xg-h7qmCVE-2019-1010266SNYK-JS-LODASH-73639

Regular Expression Denial of Service (ReDoS) in lodash

Published 19 Jul 2019 · Updated 10 Sept 2026

Affected packages

Affected
>=4.7.0 <4.17.11
Fixed in
4.17.11
Update to the fixed version for your release line, for example:npm install lodash@4.17.11
Affected
>=4.7.0 <4.17.11
Fixed in
4.17.11
Update to the fixed version for your release line, for example:npm install lodash-es@4.17.11
Affected
>=4.7.0 <4.17.11
Fixed in
4.17.11
Update to the fixed version for your release line, for example:npm install lodash-amd@4.17.11

Details

lodash prior to 4.7.11 is affected by: CWE-400: Uncontrolled Resource Consumption. The impact is: Denial of service. The component is: Date handler. The attack vector is: Attacker provides very long strings, which the library attempts to match using a regular expression. The fixed version is: 4.7.11.

Is GHSA-x5rq-j2xg-h7qm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected lodash, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.