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
lodashnpm
- 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.11lodash-esnpm
- 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.11lodash-amdnpm
- 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.11Details
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-1010266
- Linkgithub.com/lodash/lodash/issues/3359
- Linkgithub.com/github/advisory-database/pull/6138
- Linkgithub.com/lodash/lodash/commit/5c08f18d365b64063bfbfa686cbb97cdd6267347
- Packagegithub.com/lodash/lodash
- Linkgithub.com/lodash/lodash/wiki/Changelog
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-1010266.yml
- Linksecurity.netapp.com/advisory/ntap-20190919-0004
- Linksnyk.io/vuln/SNYK-JS-LODASH-73639
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.