CVE
CVE-2021-23337
published high CVSS 3.1 · 7.2Command Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Lodashprior to 4.17.21 | Affected | Not stated | snyk |
| Ubuntu | bionic | libjs-lodash | Advisory build | 4.17.4+dfsg-1ubuntu0.1~esm1 | USN-8411-1 |
| Ubuntu | bionic | node-lodash | Advisory build | 4.17.4+dfsg-1ubuntu0.1~esm1 | USN-8411-1 |
| Ubuntu | focal | libjs-lodash | Advisory build | 4.17.15+dfsg-2ubuntu0.1~esm1 | USN-8411-1 |
| Ubuntu | focal | node-lodash | Advisory build | 4.17.15+dfsg-2ubuntu0.1~esm1 | USN-8411-1 |
| Ubuntu | focal | node-lodash-packages | Advisory build | 4.17.15+dfsg-2ubuntu0.1~esm1 | USN-8411-1 |
| Ubuntu | xenial | libjs-lodash | Advisory build | 2.4.1+dfsg-3ubuntu0.1~esm1 | USN-8411-1 |
| Ubuntu | xenial | node-lodash | Advisory build | 2.4.1+dfsg-3ubuntu0.1~esm1 | USN-8411-1 |
Description
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Lodash | prior to 4.17.21 (affected) | snyk · cna |
Weaknesses
1- Command Injection
References
13- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js%23L14851
- https://security.netapp.com/advisory/ntap-20210312-0006/
- https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929
- https://snyk.io/vuln/SNYK-JS-LODASH-1040724
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
Provider assertions
3snyk · cna
Command Injection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6cb1a97c44bc23e02aa8a0734a6e2f576c6556896ed213f8e5cfb6adab3edf85
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record