VDB

CVE-2021-23369

CVE-2021-23369 PUBLISHED CVSS 5.6 MEDIUM

Remote Code Execution (RCE)

Reported by snyk · Published April 12, 2021

handlebars is fixed in 4.7.7 (Maven Central)

The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Fixed versions

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

PackageEcosystemFixed in
org.webjars:handlebarsMaven Central4.7.7
org.webjars.bowergithub.wycats:handlebars.jsMaven Central4.7.7
handlebarsnpm4.7.7
org.webjars.npm:handlebarsMaven Central4.7.7
gitlab-rails-ce-fips-19.4Chainguard19.4.0-r1
handlebarshandlebarsjs4.7.7
handlebarsn/a4.7.7

Risk scores

CVSS 3.1
5.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C

Affected products

VendorProductVersions
n/ahandlebarsunspecified
chainguardcommercial-gitlab-rails-ee-19.2*
chainguardgitlab-rails-ce-fips-19.0*
chainguardgitlab-rails-ee-17.10*
chainguardgitlab-rails-ce-fips-19.2*
chainguardgitlab-rails-ee-17.0*
chainguardgitlab-rails-ee-17.9*
chainguardgitlab-rails-ce-fips-18.1*
Mavenorg.webjars.bowergithub.wycats:handlebars.js0
chainguardgitlab-rails-ee-fips-17.10*
chainguardcommercial-gitlab-rails-ee-fips-19.4*
chainguardcommercial-gitlab-rails-ee-fips-19.2*
chainguardgitlab-rails-ee-fips-17.4*
chainguardgitlab-rails-ce-18.8*
chainguardcommercial-gitlab-rails-ee-19.4*
chainguardgitlab-rails-ee-17.2*
chainguardgitlab-rails-ee-fips-17.0*
chainguardgitlab-rails-ce-18.2*
chainguardgitlab-rails-ee-fips-17.3*
chainguardgitlab-rails-ee-17.4*

…and 47 more

Timeline

  • Apr 12, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (6 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-23369
vulnetix vdb fixes CVE-2021-23369

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-23369/fixes/registry"

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

References

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