CVE-2021-23337
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| sid | Fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| forky | Fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| bullseye | Fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| bookworm | Fixed | 4.17.21+dfsg+~cs8.31.173-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | lodash-rails | <>= 4.17.21 | >= 4.17.21 |
| npm | lodash | <4.17.21 | 4.17.21 |
| npm | lodash-es | <4.17.21 | 4.17.21 |
| npm | lodash.template | <=4.5.0 | |
| npm | lodash-template | <=1.0.0 | |
| RubyGems | lodash-rails | <4.17.21 | 4.17.21 |
References
- https://github.com/advisories/GHSA-35jh-r3h4-6jhm
- https://nvd.nist.gov/vuln/detail/CVE-2021-23337
- https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://snyk.io/vuln/SNYK-JS-LODASH-1040724
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930
- https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932
- https://security.netapp.com/advisory/ntap-20210312-0006
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2021-23337.yml
- https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js#L14851
- https://github.com/lodash/lodash
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- https://security-tracker.debian.org/tracker/CVE-2021-23337
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.