CVE-2021-23337: Command Injection

Published Feb 15, 2021
·
Updated

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

Other sources

A flaw was found in nodejs-lodash. A command injection flaw is possible through template variables.

All versions of package lodash; all versions of package org.fujion.webjars:lodash are vulnerable to Command Injection via template.

Reference: https://snyk.io/vuln/SNYK-JS-LODASH-1040724

Red Hat

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

Affected Software

61 affected componentsFixes available
redhat/cockpit-ovirt<0:0.15.1-2.el8e
0:0.15.1-2.el8e
redhat/ovirt-engine-ui-extensions<0:1.2.6-1.el8e
0:1.2.6-1.el8e
redhat/ovirt-web-ui<0:1.6.9-1.el8e
0:1.6.9-1.el8e
npm/lodash-template<=1.0.0
npm/lodash.template<=4.5.0
npm/lodash-es<4.17.21
4.17.21
npm/lodash<4.17.21
4.17.21
Lodash Lodash Node.js<4.17.21
Oracle Banking Corporate Lending Process Management=14.2.0
Oracle Banking Corporate Lending Process Management=14.3.0
Oracle Banking Corporate Lending Process Management=14.5.0
Oracle Banking Credit Facilities Process Management=14.2.0
Oracle Banking Credit Facilities Process Management=14.3.0
Oracle Banking Credit Facilities Process Management=14.5.0
Oracle Banking Extensibility Workbench=14.2.0
Oracle Banking Extensibility Workbench=14.3.0
Oracle Banking Extensibility Workbench=14.5.0
Oracle Banking Supply Chain Finance=14.2.0
Oracle Banking Supply Chain Finance=14.3.0
Oracle Banking Supply Chain Finance=14.5.0
Oracle Banking Trade Finance Process Management=14.2.0
Oracle Banking Trade Finance Process Management=14.3.0
Oracle Banking Trade Finance Process Management=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
Oracle Communications Session Border Controller=9.0
Oracle Enterprise Communications Broker=3.2.0
Oracle Enterprise Communications Broker=3.3.0
Oracle Financial Services Crime And Compliance Management Studio=8.0.8.2.0
Oracle Financial Services Crime And Compliance Management Studio=8.0.8.3.0
Oracle Health Sciences Data Management Workbench=2.5.2.1
Oracle Health Sciences Data Management Workbench=3.0.0.0
Oracle JD Edwards EnterpriseOne Tools<9.2.6.1
Oracle PeopleSoft Enterprise PeopleTools=8.58
Oracle PeopleSoft Enterprise PeopleTools=8.59
Oracle Primavera Gateway>=17.12.0<=17.12.11
Oracle Primavera Gateway>=18.8.0<=18.8.12
Oracle Primavera Gateway>=19.12.0<=19.12.11
Oracle Primavera Gateway>=20.12.0<=20.12.7
Oracle Primavera Unifier>=17.7<=17.12
Oracle Primavera Unifier=18.8
Oracle Primavera Unifier=19.12
Oracle Primavera Unifier=20.12
Oracle Retail Customer Management and Segmentation Foundation=19.0
NetApp Active Iq Unified Manager Linux
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows
NetApp Cloud Manager
NetApp System Manager=9.0
Siemens Sinec Ins<1.0
Siemens Sinec Ins=1.0
Siemens Sinec Ins=1.0-sp1
IBM Business Automation Insights<=25.0.0
IBM Business Automation Insights<=24.0.1
IBM Business Automation Insights<=24.0.0
redhat/nodejs-lodash<4.17.21
4.17.21
rubygems/lodash-rails<4.17.21
4.17.21
debian/node-lodash
4.17.21+dfsg+~cs8.31.173-14.17.21+dfsg+~cs8.31.198.20210220-94.18.1+dfsg-3

Event History

Feb 15, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·12:15 PM
Data Sourced
via MITRE·12:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·08:21 PM
DescriptionSeverityAffected Software
May 6, 2021
Advisory Published
via GitHub·04:05 PM
Data Sourced
via GitHub·04:05 PM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 9, 2026
Data Sourced
via Launchpad·06:09 PM
Description
Data Sourced
via Debian·06:09 PM
DescriptionAffected Software
Jun 10, 2026
Data Sourced
via Ubuntu·06:08 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-23337?

CVE-2021-23337 is a vulnerability in Lodash versions prior to 4.17.21 that allows command injection via the template function.

2

How does CVE-2021-23337 impact Node.js lodash module?

CVE-2021-23337 can allow a remote authenticated attacker to execute arbitrary commands on the system by exploiting a command injection flaw in the template.

3

Which software is affected by CVE-2021-23337?

Node.js lodash module versions prior to 4.17.21 are affected by CVE-2021-23337.

4

What is the severity of CVE-2021-23337?

CVE-2021-23337 has a severity rating of high.

5

How can I fix the CVE-2021-23337 vulnerability?

To fix the CVE-2021-23337 vulnerability, update Node.js lodash module to version 4.17.21 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2021-23337 - Command Injection - SecAlerts