Skip to content
Fencer Vulns
high 7.2

CVE-2021-23337 in the critical feed json

Command Injection

published 2021-02-15 5 y ago modified 2026-10-17 23 d ago also GHSA-35jh-r3h4-6jhm , EUVD-2021-0912

cvss
7.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
21.3%
EPSS 21.3% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known, plus a Nuclei check

Summary

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

Patch / fix

  • npm lodash 4.17.21
  • npm lodash-es 4.17.21
  • rubygems lodash-rails 4.17.21
  • lodash lodash 4.17.21
  • oracle jd_edwards_enterpriseone_tools 9.2.6.1
  • siemens sinec_ins 1.0
  • node-lodash Debian 14, Debian 13, Debian 12 4.17.21+dfsg+~cs8.31.173-1

debian advisories DEBIAN-CVE-2021-23337

  • node-lodash Ubuntu Pro 16.04 LTS 2.4.1+dfsg-3ubuntu0.1~esm1
  • node-lodash Ubuntu Pro 18.04 LTS 4.17.4+dfsg-1ubuntu0.1~esm1
  • node-lodash Ubuntu Pro 20.04 LTS 4.17.15+dfsg-2ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-23337

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ovirt-web-ui rhev manager 4.4 1.6.9-1.el8ev
  • ovirt-engine-ui-extensions rhev manager 4.4 1.2.6-1.el8ev
  • cockpit-ovirt rhev hypervisor 4.4 0.15.1-2.el8ev
  • cockpit-ovirt-dashboard rhev hypervisor 4.4 0.15.1-2.el8ev

red hat advisories RHSA-2021:2179RHSA-2021:3459

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-23337 updated cvss 7.2

nodejs-lodash: command injection via template

  • Red Hat OpenShift Service Mesh 2.0 kiali, servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheus Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-api-rhel8, rhacm2/acm-search-v2-api-rhel9 Red Hat Ansible Automation Platform 1.2 lodash
    affected: no fix available
  • Red Hat OpenShift Container Platform 3.11 kibana
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4 kibana, openshift4/ose-prometheus, openshift4/ose-thanos-rhel9, openshift4/ose-console-rhel9, openshift4/ose-logging-kibana6, openshift4/ose-metering-hadoop, +1 more
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Quay 3 quay/quay-rhel8
    affected: no fix available “Fix deferred”
  • Red Hat Discovery 2 discovery 1775675922
    fixed: vendor fix RHSA-2026:7329
  • Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.4-12
    fixed: vendor fix RHSA-2022:6429
  • Red Hat OpenShift Container Platform 4.8 openshift4/ose-console v4.8.0-202107010336.p0.git.188a490.assembly.stream, openshift4/ose-grafana v4.8.0-202106291913.p0.git.b987e4b.assembly.stream, openshift4/ose-prometheus v4.8.0-202106291913.p0.git.f3beb88.assembly.stream, openshift4/ose-thanos-rhel8 v4.8.0-202106291913.p0.git.c358e96.assembly.stream
    fixed: vendor fix RHSA-2021:2438
  • Red Hat OpenShift Jaeger 1.20 distributed-tracing/jaeger-query-rhel8 1.20.4-18, distributed-tracing/jaeger-all-in-one-rhel8 1.20.4-18
    fixed: vendor fix RHSA-2021:2543
show 3 more
  • Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts cockpit-ovirt 0.15.1-2.el8ev, cockpit-ovirt-dashboard 0.15.1-2.el8ev
    fixed: vendor fix RHSA-2021:3459
  • Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ovirt-web-ui 1.6.9-1.el8ev, ovirt-engine-ui-extensions 1.2.6-1.el8ev
    fixed: vendor fix RHSA-2021:2179
  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8, rhacm2/console-ui-rhel8, rhacm2/grc-ui-api-rhel8, rhacm2/console-api-rhel8, rhacm2/mcm-topology-rhel8, rhacm2/console-header-rhel8, +1 more Red Hat Decision Manager 7 lodash Red Hat Discovery 2 discovery 1775668717 Red Hat Migration Toolkit 1.7 rhmtc/openshift-velero-plugin-rhel8 v1.7.4-6, rhmtc/openshift-migration-velero-rhel8 v1.7.4-6, rhmtc/openshift-migration-openvpn-rhel8 v1.7.4-7, rhmtc/openshift-migration-registry-rhel8 v1.7.4-7, rhmtc/openshift-migration-rhel8-operator v1.7.4-15, rhmtc/openshift-migration-controller-rhel8 v1.7.4-7, +10 more Red Hat OpenShift Container Platform 4.8 openshift4/ose-cli v4.8.0-202106291725.p0.git.1077b05.assembly.stream, openshift4/ose-pod v4.8.0-202107161820.p0.git.051ac4f.assembly.stream, openshift4/ose-etcd v4.8.0-202106152230.p0.git.aefa6bf.assembly.stream, openshift4/ose-tests v4.8.0-202107131424.p0.git.0d958c3.assembly.stream, openshift4/ose-coredns v4.8.0-202106291913.p0.git.642b46e.assembly.stream, openshift4/ose-jenkins v4.8.0-202106291913.p0.git.6c68667.assembly.stream, +132 more Red Hat OpenShift Jaeger 1.20 distributed-tracing/jaeger-agent-rhel8 1.20.4-18, distributed-tracing/jaeger-ingester-rhel8 1.20.4-17, distributed-tracing/jaeger-rhel8-operator 1.20.4-18, distributed-tracing/jaeger-collector-rhel8 1.20.4-18, distributed-tracing/jaeger-es-rollover-rhel8 1.20.4-7, distributed-tracing/jaeger-es-index-cleaner-rhel8 1.20.4-7
    +4 more products
    Red Hat Process Automation 7 lodash Red Hat Virtualization 4 Hypervisor for RHEL 8 vdsm 4.40.80.5-1.el8ev, vdsm-hook-fcoe 4.40.80.5-1.el8ev, vdsm-hook-vhostmd 4.40.80.5-1.el8ev, vdsm-hook-checkips 4.40.80.5-1.el8ev, vdsm-hook-cpuflags 4.40.80.5-1.el8ev, vdsm-hook-nestedvt 4.40.80.5-1.el8ev, +4 more Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts vdsm 4.40.80.5-1.el8ev, ovirt-host 4.4.8-2.el8ev, vdsm-api 4.40.80.5-1.el8ev, vdsm-http 4.40.80.5-1.el8ev, vdsm-client 4.40.80.5-1.el8ev, vdsm-common 4.40.80.5-1.el8ev, +17 more Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 rhvm 4.4.6.6-0.10.el8ev, engine-db-query 1.6.3-1.el8ev, ovirt-cockpit-sso 0.1.4-2.el8ev, ovirt-engine 4.4.6.6-0.10.el8ev, rhvm-branding-rhv 4.4.8-1.el8ev, ovirt-engine-dwh 4.4.6.2-1.el8ev, +21 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
31 d ago

Exploit prediction

21.33% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Lodash Template - Server-Side Template Injection (RCE) nuclei detection template
  • snyk.io https://snyk.io/vuln/SNYK-JS-LODASH-1040724 referenced PoC, tagged "exploit" by a source, unverified
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928 referenced PoC, tagged "exploit" by a source, unverified
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929 referenced PoC, tagged "exploit" by a source, unverified
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930 referenced PoC, tagged "exploit" by a source, unverified
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931 referenced PoC, tagged "exploit" by a source, unverified
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.2 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
CNA 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm lodash
<4.17.21
4.17.21
npm lodash-es
<4.17.21
4.17.21
npm lodash.template
<=4.5.0
no fix listed
npm lodash-template
<=1.0.0
no fix listed
rubygems lodash-rails
<4.17.21
4.17.21

Affected products

  • n/a Lodash

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.