CVE-2021-23337
HIGH7.2EPSS 4.3%Command Injection in lodash
Published: 5/6/2021Modified: 4/28/2026
Description
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Affected packages (6)
- Debian/node-lodashfrom 0, < 4.17.21+dfsg+~cs8.31.173-1
- npm/lodashfrom 0, < 4.17.21
- npm/lodash-esfrom 0, < 4.17.21
- npm/lodash-templatefrom 0, <= 1.0.0
- npm/lodash.templatefrom 0, <= 4.5.0
- RubyGems/lodash-railsfrom 0, < 4.17.21
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
References (18)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-23337
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-23337
- PATCHhttps://github.com/lodash/lodash
- WEBhttps://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- WEBhttps://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js#L14851
- WEBhttps://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2021-23337.yml
- WEBhttps://security.netapp.com/advisory/ntap-20210312-0006
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929
- WEBhttps://snyk.io/vuln/SNYK-JS-LODASH-1040724
- WEBhttps://www.oracle.com/security-alerts/cpujan2022.html
- WEBhttps://www.oracle.com//security-alerts/cpujul2021.html
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html
- WEBhttps://www.oracle.com/security-alerts/cpuoct2021.html