CVE-2021-23337
unknown
CVSS v3
—
CVSS v2
—
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
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-23337
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| debian | bullseye | fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| debian | forky | fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| debian | sid | fixed | 4.17.21+dfsg+~cs8.31.173-1 |
| debian | trixie | 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
Verify integrity in audit chain (admin only). AS-IS.