Skip to main content
Exploitation reportedNot in CISA KEV yetFix available

CVE-2021-23337

Exploitation reported by one source. First attested on 2026-10-23 by GCVE · shadowserver.

  • Published2021-02-15
  • Fixed in4.17.21
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2021-02-1513:15CVE publishedNVD
  2. 2026-10-2320:46Listed as exploited by GCVEGCVE
  3. 2026-10-2320:46Exploitation first reportedGCVE

Observed activity

isMalicious corpus · updated 2026-10-26 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-23337?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-23337?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Lodash
BranchAffectedFixed in
4.17< 4.17.214.17.21
Oracle primavera gateway
BranchAffectedFixed in
17.12≥ 17.12.0, ≤ 17.12.11no fix published
18.8≥ 18.8.0, ≤ 18.8.12no fix published
19.12≥ 19.12.0, ≤ 19.12.11no fix published
20.12≥ 20.12.0, ≤ 20.12.7no fix published
Oracle primavera unifier
BranchAffectedFixed in
17.x≥ 17.7, ≤ 17.12no fix published
18.8= 18.8no fix published
19.12= 19.12no fix published
20.12= 20.12no fix published

23 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2021-23337 Red Hat Product Security27 products fixed · 22 known affected

    nodejs-lodash: command injection via template

    kiali as a component of OpenShift Service Mesh 2.0 · kiali.src as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana as a component of OpenShift Service Mesh 2.0 · +19 more

  • RHSA-2026:7329 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage

  • RHSA-2022:6429 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.4 security and bug fix update

  • ICSA-22-258-05 CISA1 known affected

    Siemens SINEC INS

    SINEC INS

  • SSA-637483 Siemens ProductCERT1 known affected

    SSA-637483 Third-Party Component Vulnerabilities in SINEC INS before V1.0 SP2

    SINEC INS

  • RHSA-2021:3459 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Virtualization Host security and bug fix update [ovirt-4.4.8]

4 more advisories

Full record on NVD

Fix

  1. Update Lodash to 4.17.21
  2. Vendor fix Red Hat Product Security RHSA-2026:7329 · 2 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
  3. Vendor fix Red Hat Product Security RHSA-2022:6429 · 1 productFor details on how to install and use MTC, refer to: https://docs.openshift.com/container-platform/latest/migration_toolkit_for_containers/installing-mtc.html
  4. Vendor fix CISA ICSA-22-258-05 · 1 productUpdate to V1.0 SP2 or later version
  5. Vendor fix Siemens ProductCERT SSA-637483 · 1 productUpdate to V1.0 SP2 or later version
  6. Vendor fix Red Hat Product Security RHSA-2021:3459 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  7. Vendor fix Red Hat Product Security RHSA-2021:2438 · 12 productsFor OpenShift Container Platform 4.8 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.8/release_notes/ocp-4-8-r…

Detection

read 2026-10-25 23:12 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
1 repository, unverifiedkhayashi4337/lodash.template-fixed
PoC-in-GitHub

Sources

  • GCVEexploitation2026-10-23
  • CISA-ADPSSVC decisionnone2026-10-08
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.17.2read 2026-10-23
  • NVDCVSS 3.17.2read 2026-10-23
  • NVDCVSS 2.06.5read 2026-10-23
  • NVDweakness (CWE)CWE-94read 2026-10-23
  • FIRST EPSSEPSS score21.3 %read 2026-10-25
  • PoC-in-GitHubproof of concept1read 2026-10-25
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2021-02-15
Last Modified
2026-10-08
NVD status
Modified

Frequently asked questions

What is CVE-2021-23337?

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

Is CVE-2021-23337 actively exploited?

Active exploitation of CVE-2021-23337 has not been confirmed. Its EPSS score was 21.3% on 2026-10-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-23337?

CVE-2021-23337 has a CVSS v3 base score of 7.2 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running lodash? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month