CVE-2020-28500Published Feb 15, 2021 · Feb 15Updated Oct 24
Regular Expression Denial of Service (ReDoS)
Lodash
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lodash npm |
|
|
| lodash-es npm |
|
|
| lodash.trimend npm |
Lodash
| Product | Affected | Fixed in |
|---|---|---|
| lodash npm |
|
|
| lodash-es npm |
|
|
| lodash.trimend npm |
≥ 4.0.0 · ≤ 4.5.1| No fix yet |
| lodash.trim npm |
| No fix yet |
| lodash-rails RubyGems |
|
|
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
From the CVE record · snyk
Affected Lodash packages are vulnerable to regular expression denial of service in the toNumber, trim and trimEnd functions. An attacker can cause a denial of service if crafted input reaches these functions; the input does not specify network access, authentication or user-interaction requirements.
Check applications using npm lodash or lodash-es >=4.0.0 <4.17.21, npm lodash.trim or lodash.trimend >=4.0.0 <=4.5.1, or RubyGems lodash-rails >=4.0.0 <4.17.21.