GitHub Advisoryadvisory · npm, RubyGems
GHSA-35jh-r3h4-6jhm Command Injection in lodash
HIGH
Official page ↗
- Aliases
- CVE-2021-23337
- Ecosystem
- npm, RubyGems
- Packages
- lodash, lodash-es, lodash.template, lodash-template, lodash-rails
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77, CWE-94
- Reviewed
- 2021-03-31
Affected packages
• npm lodash: < 4.17.21 → fixed in 4.17.21
• npm lodash-es: < 4.17.21 → fixed in 4.17.21
• npm lodash.template: <= 4.5.0 (no fix yet)
• npm lodash-template: <= 1.0.0 (no fix yet)
• RubyGems lodash-rails: < 4.17.21 → fixed in 4.17.21
Description
`lodash` versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Related
Alias · CVE (1)
- CVE-2021-23337 Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23337 advisory
- https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c web
- https://www.oracle.com/security-alerts/cpuoct2021.html web
- https://www.oracle.com/security-alerts/cpujul2022.html web
- https://www.oracle.com/security-alerts/cpujan2022.html web
- https://www.oracle.com//security-alerts/cpujul2021.html web
- https://snyk.io/vuln/SNYK-JS-LODASH-1040724 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930 web
- https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932 web
- https://security.netapp.com/advisory/ntap-20210312-0006 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2021-23337.yml web
- https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js#L14851 web
- https://github.com/lodash/lodash package
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf web