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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2021-02-1513:15CVE publishedNVD
- 2026-10-2320:46Listed as exploited by GCVEGCVE
- 2026-10-2320:46Exploitation first reportedGCVE
Observed activity
isMalicious corpus · updated 2026-10-26 03:37 UTCBlock 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| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.17 | < 4.17.21 | 4.17.21 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 17.12 | ≥ 17.12.0, ≤ 17.12.11 | no fix published | NVD |
| 18.8 | ≥ 18.8.0, ≤ 18.8.12 | no fix published | NVD |
| 19.12 | ≥ 19.12.0, ≤ 19.12.11 | no fix published | NVD |
| 20.12 | ≥ 20.12.0, ≤ 20.12.7 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 17.x | ≥ 17.7, ≤ 17.12 | no fix published | NVD |
| 18.8 | = 18.8 | no fix published | NVD |
| 19.12 | = 19.12 | no fix published | NVD |
| 20.12 | = 20.12 | no fix published | NVD |
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
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
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.4 security and bug fix update
Siemens SINEC INS
SINEC INS
SSA-637483 Third-Party Component Vulnerabilities in SINEC INS before V1.0 SP2
SINEC INS
Red Hat Security Advisory: Red Hat Virtualization Host security and bug fix update [ovirt-4.4.8]
4 more advisories
Fix
- Update Lodash to 4.17.21
- 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.
- 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
- Vendor fix CISA ICSA-22-258-05 · 1 productUpdate to V1.0 SP2 or later version
- Vendor fix Siemens ProductCERT SSA-637483 · 1 productUpdate to V1.0 SP2 or later version
- 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
- 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…
Advisories and patches
- cert-portal.siemens.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
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?
Is CVE-2021-23337 actively exploited?
What is the CVSS score for CVE-2021-23337?
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
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.