Command Injection
Summary
| CVE | CVE-2021-23337 |
|---|---|
| State | PUBLISHED |
| Assigner | snyk |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-02-15 13:15:12 UTC |
| Updated | 2026-10-08 22:17:07 UTC |
| Description | Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.213330000 probability, percentile 0.975540000 (date 2026-10-11)
Problem Types: CWE-94 | Command Injection
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C |
| 2.0 | [email protected] | Primary | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
HighUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
SingleConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:S/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/l... | af854a3a-2127-422b-91ae-364da2661108 | github.com | Broken Link |
| Oracle Critical Patch Update Advisory - October 2021 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| Oracle Critical Patch Update Advisory - July 2021 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| Command Injection in org.webjars.bower:lodash | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| Command Injection in org.webjars:lodash | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| Command Injection in lodash | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| Oracle Critical Patch Update Advisory - January 2022 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| February 2021 Lodash Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| Oracle Critical Patch Update Advisory - July 2022 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf | af854a3a-2127-422b-91ae-364da2661108 | cert-portal.siemens.com | Patch, Third Party Advisory |
| Command Injection in org.webjars.npm:lodash | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| Command Injection in org.webjars.bowergithub.lodash:lodash | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| Command Injection in org.fujion.webjars:lodash | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| lodash/lodash.js at ddfd9b11a0126db2302cb70ec9973b66baec0975 · lodash/lodash · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Marc Hassan (en)