CVE-2021-23337Published Feb 15, 2021 · Feb 15Updated Oct 24
Command Injection
Lodash
High7.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lodash npm |
|
|
| lodash-es npm |
|
|
| lodash.template npm |
|
Lodash
| Product | Affected | Fixed in |
|---|---|---|
| lodash npm |
|
|
| lodash-es npm |
|
|
| lodash.template npm |
|
| No fix yet |
| lodash-template npm |
| No fix yet |
| lodash-rails RubyGems |
|
|
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
From the CVE record · snyk
The Lodash template function is vulnerable to command injection in versions before 4.17.21. An attacker may exploit it if attacker-controlled input reaches the function; the input does not specify whether network access, authentication, or user interaction is required.
Check applications using npm lodash or lodash-es before 4.17.21, RubyGems lodash-rails before 4.17.21, npm lodash.template through 4.5.0, or npm lodash-template through 1.0.0.