# CVE-2021-23337: Command Injection

- Severity: High 7.2 (CVSS:3.1, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 20.6%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 6 links below, marked "exploit"
- Published: 2021-02-15T12:15:14.715Z
- Modified: 2026-10-17T02:55:38.085Z
- Also known as: GHSA-35jh-r3h4-6jhm
- Weaknesses: CWE-77, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: snyk

## Description

Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

(As written by CVE List.)

## Affected

- Lodash: prior to 4.17.21
- lodash (npm): before 4.17.21
- lodash-es (npm): before 4.17.21
- lodash.template (npm): up to 4.5.0
- lodash-template (npm): up to 1.0.0
- lodash-rails (RubyGems): before 4.17.21
- lodash lodash: before 4.17.21
- oracle banking_corporate_lending_process_management: 14.2.0; 14.3.0; 14.5.0
- oracle banking_credit_facilities_process_management: 14.2.0; 14.3.0; 14.5.0
- oracle banking_extensibility_workbench: 14.2.0; 14.3.0; 14.5.0
- oracle banking_supply_chain_finance: 14.2.0; 14.3.0; 14.5.0
- oracle banking_trade_finance_process_management: 14.2.0; 14.3.0; 14.5.0
- oracle communications_cloud_native_core_binding_support_function: 1.9.0
- oracle communications_cloud_native_core_policy: 1.11.0
- oracle communications_design_studio: 7.4.2.0.0
- oracle communications_services_gatekeeper: 7.0
- oracle communications_session_border_controller: 8.4; 9.0
- oracle enterprise_communications_broker: 3.2.0; 3.3.0
- oracle financial_services_crime_and_compliance_management_studio: 8.0.8.2.0; 8.0.8.3.0
- oracle health_sciences_data_management_workbench: 2.5.2.1; 3.0.0.0
- oracle jd_edwards_enterpriseone_tools: before 9.2.6.1
- oracle peoplesoft_enterprise_peopletools: 8.58; 8.59
- oracle primavera_gateway: from 17.12.0 up to 17.12.11; from 18.8.0 up to 18.8.12; from 19.12.0 up to 19.12.11; from 20.12.0 up to 20.12.7
- oracle primavera_unifier: from 17.7 up to 17.12; 18.8; 19.12; 20.12
- oracle retail_customer_management_and_segmentation_foundation: 19.0
- netapp active_iq_unified_manager: no versions given
- netapp cloud_manager: no versions given
- netapp system_manager: 9.0
- siemens sinec_ins: before 1.0; 1.0

## Every score

- snyk: CVSS:3.1 7.2 High `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`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-LODASH-1040724> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932> (exploit, third-party-advisory, web)
- <https://github.com/lodash/lodash/blob/ddfd9b11a0126db2302cb70ec9973b66baec0975/lodash.js%23L14851> (broken-link)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210312-0006/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23337> (advisory)
- <https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c> (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)

## Sources

- CVE List: [CVE-2021-23337](https://www.cve.org/CVERecord?id=CVE-2021-23337), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-35jh-r3h4-6jhm](https://github.com/advisories/GHSA-35jh-r3h4-6jhm), CC-BY-4.0, modified 2026-10-17
- NVD: [CVE-2021-23337](https://nvd.nist.gov/vuln/detail/CVE-2021-23337), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-23337 · Whole record: https://cve.day/CVE-2021-23337.json · Rebuilt by cve.day 2026-11-25T22:57:59.949Z
