VDB

CVE-2021-23337

CVE-2021-23337 PUBLISHED CVSS 7.2 HIGH

Command Injection

Reported by snyk · Published February 15, 2021

lodash-template is fixed in 1.0.0 (npm)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
lodash-templatenpm1.0.0
lodash-railsRubyGems4.17.21
lodash-esnpm4.17.21
lodashnpm4.17.21
lodash.templatenpm4.5.0
py3-captumChainguard0.9.0-r1
jd_edwards_enterpriseone_toolsoracle9.2.6.1
primavera_unifieroracle17.12
lodashlodash4.17.21
primavera_gatewayoracle20.12.7, 19.12.11, 18.8.12, 17.12.11

Risk scores

CVSS 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

Affected products

VendorProductVersions
n/aLodashprior to 4.17.21
chainguardpy3-captum0
npmlodash-es0
npmlodash0
lodashlodash
RubyGemslodash-rails0
npmlodash-template0
npmlodash.template0
n/aLodash4.17.21

Timeline

  • Feb 15, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 7, 2022 PoC Published (5 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (29 in total, the first dated here)
  • Mar 20, 2026 Distribution Patch (26 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score
  • Oct 23, 2026 VulnCheck KEV Exploitation (26 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-23337
vulnetix vdb fixes CVE-2021-23337

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-23337/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›