GHSA-x5rq-j2xg-h7qm
Regular Expression Denial of Service (ReDoS) in lodash
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | lodash | >= 4.7.0, < 4.17.11 | 4.17.11 |
| npm | lodash-es | >= 4.7.0, < 4.17.11 | 4.17.11 |
| npm | lodash-amd | >= 4.7.0, < 4.17.11 | 4.17.11 |
| RubyGems | lodash-rails | >= 4.7.0, < 4.17.11 | 4.17.11 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-1010266
- https://github.com/lodash/lodash/issues/3359
- https://github.com/github/advisory-database/pull/6138
- https://github.com/lodash/lodash/commit/5c08f18d365b64063bfbfa686cbb97cdd6267347
- https://github.com/lodash/lodash
- https://github.com/lodash/lodash/wiki/Changelog
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2019-1010266.yml
- https://security.netapp.com/advisory/ntap-20190919-0004
- https://snyk.io/vuln/SNYK-JS-LODASH-73639