CVE-2019-1010266Published Jul 17, 2019 · Jul 17Updated Oct 20
Regular Expression Denial of Service (ReDoS) in lodash
lodash
Medium6.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lodash npm |
|
|
| lodash-es npm |
|
|
| lodash-amd npm |
lodash
| Product | Affected | Fixed in |
|---|---|---|
| lodash npm |
|
|
| lodash-es npm |
|
|
| lodash-amd npm |
≥ 4.7.0 · < 4.17.11
|
| lodash-rails RubyGems |
|
|
lodash prior to 4.17.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.17.11.
From the CVE record · dwf
The Date handler in affected lodash packages uses a regular expression to match strings. An attacker can cause denial of service by supplying a very long string to the handler. The input does not specify whether this requires network or local access, authentication, or user interaction.
Check applications using npm lodash, lodash-es, or lodash-amd, or RubyGems lodash-rails, at versions >=4.7.0 and <4.17.11.