Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
CVE-2021-23337
This high-severity CVE scores 7.2 under NVD CVSS v3. EPSS exploit probability: 21% (97th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.2
- EG Score
- 7.2HIGHmedium confidence
- EG Risk
- 63EG Risk 63/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity72% × 45%Exploitation40% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 21%
- EPSS %ILE
- 97th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
February 15, 2021
Last Modified
October 8, 2026
Advisory Details (7)
Auto-updated Oct 8, 2026Code Injection in org.fujion.webjars:lodash | CVE-2021-23337 | Snyk
https://snyk.io/vuln/SNYK-JAVA-ORGFUJIONWEBJARS-1074932Code Injection in org.webjars.bowergithub.lodash:lodash | CVE-2021-23337 | Snyk
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074931Code Injection in org.webjars:lodash | CVE-2021-23337 | Snyk
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074930Code Injection in org.webjars.npm:lodash | CVE-2021-23337 | Snyk
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074929Code Injection in org.webjars.bower:lodash | CVE-2021-23337 | Snyk
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074928Code Injection in lodash | CVE-2021-23337 | Snyk
https://snyk.io/vuln/SNYK-JS-LODASH-1040724Vendor Advisories for CVE-2021-23337(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:7329Red Hat Product SecurityHigh
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
- RHSA-2022:6429Red Hat Product SecurityHigh
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.4 security and bug fix update
- RHSA-2021:3459Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Virtualization Host security and bug fix update [ovirt-4.4.8]
- RHSA-2021:2438Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.8.2 bug fix and security update
- RHSA-2021:1168Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.2.2 security and bug fix update
Patch Availability(7)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | node-lodash-packages (4.17.23+dfsg-1ubuntu0.1~esm1) @ resolute | 2026-10-08 | ubuntu |
| redhat | discovery/discovery-ui-rhel9:1775675922 | 2026-04-09 | redhat |
| redhat | rhmtc/openshift-migration-ui-rhel8:v1.7.4-12 | 2022-09-13 | redhat |
| redhat | cockpit-ovirt-0:0.15.1-2.el8ev | 2021-09-08 | redhat |
| redhat | openshift4/ose-thanos-rhel8:v4.8.0-202106291913.p0.git.c358e96.assembly.stream | 2021-07-27 | redhat |
| redhat | distributed-tracing/jaeger-query-rhel8:1.20.4-18 | 2021-06-24 | redhat |
| redhat | ovirt-web-ui-0:1.6.9-1.el8ev | 2021-06-01 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(10 across 6 ecosystems)
npm(5)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lodash | — |
| — |
| lodash-amd | — |
| — |
| lodash-es | — |
| — |
| lodash-template | — |
| — |
| lodash.template | — |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-lodash | — |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-lodash | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-lodash | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-lodash | — |
| — |
RubyGems(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lodash-rails | 0.10.0 ... 4.6.1 (55 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(3)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 10× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 164 total refreshes for this CVE.
- 2026-10-09 20:04 UTCEPSS rescore
- 2026-10-08 22:28 UTCVendor advisory
- 2026-10-08 21:34 UTCEG score recompute
- 2026-10-08 21:34 UTCVendor advisory
- 2026-10-08 16:39 UTCEPSS rescore
- 2026-10-07 23:44 UTCEPSS rescore
- 2026-10-06 15:13 UTCEPSS rescore
- 2026-10-05 17:40 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-02 16:22 UTCEPSS rescore
- 2026-10-01 19:46 UTCEPSS rescore
- 2026-09-30 15:31 UTCEG score recompute
- 2026-09-30 15:00 UTCEPSS rescore
- 2026-09-27 13:41 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 09:55 UTCOSV refresh
- 2026-09-26 00:21 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-23 13:44 UTCEPSS rescore
- 2026-09-22 14:44 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-19 15:37 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-10 09:29 UTCEPSS rescore
- 2026-09-08 21:56 UTCEPSS rescore
- 2026-09-06 22:13 UTCOSV refresh
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-09-01 13:50 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:37 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-23 00:16 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-20 08:01 UTCOSV refresh
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-11 13:38 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-08-05 19:14 UTCEPSS rescore
- 2026-08-05 03:40 UTCOSV refresh
- 2026-08-04 15:06 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:57 UTCEG score recompute
- 2026-07-22 22:44 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 01:59 UTCOSV refresh
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:57 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2021/CVE-2021-23337.yamlFirst seen Jan 1, 2021
Lodash Template - Server-Side Template Injection (RCE)
Open source ↗
Related CVEs(same product + same vendor + same CWE)
Same product
9 shownnpm:lodash-template · npm:lodash-amd · npm:lodash-es
Same vendor
10 shownredhat:RHSA-2021:2179 · redhat:RHSA-2021:2438 · ubuntu:USN-8411-1
Same CWE
10 shownCWE-94
- CVE-2021-27236EG 9.8CRITICAL
- CVE-2021-26753EG 9.9CRITICAL
- CVE-2021-25251EG 7.2HIGH
- CVE-2021-21477EG 9.9EPSS p98CRITICAL
- CVE-2021-26551EG 8.8HIGH
- CVE-2021-26120EG 9.8EPSS p100CRITICAL
- CVE-2021-22502EG 9.8 KEVEPSS p100CRITICAL
- CVE-2021-21305EG 7.4EPSS p96HIGH
- CVE-2021-20623EG 9.8CRITICAL
- CVE-2021-3273EG 7.2EPSS p94HIGH
Frequently asked(5)
What is CVE-2021-23337?
When was CVE-2021-23337 disclosed?
Is CVE-2021-23337 actively exploited?
What is the CVSS score of CVE-2021-23337?
How do I remediate CVE-2021-23337?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-23337
Is Your Infrastructure Affected by CVE-2021-23337?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.