CVE-2021-23383
A public proof of concept exists; no exploitation attested.
- Published2021-05-04
- Fixed in4.7.7
- WeaknessCWE-1321
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
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to compile templates coming from an untrusted source.
Timeline
dates in UTC- 2021-05-0409:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.7 | < 4.7.7 | 4.7.7 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As snyk, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- handlebarsAffected
- < 4.7.7fixed in 4.7.7custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2021-06-18
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.
Packages
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.8-root.io.2
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.3-root.io.2
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.7-root.io.3
- @rootio/handlebarsRoot:npmall versions · fixed in 4.7.7-root.io.1
- @rootio/handlebarsRoot:npmall versions · fixed in 4.7.7-root.io.2
- @rootio/handlebarsRoot:npmall versions · fixed in 4.7.7-root.io.3
- @rootio/handlebarsRoot:npmall versions · fixed in 4.7.7-root.io.4
- @rootio/handlebarsRoot:npmall versions · fixed in 4.7.7-root.io.5
30 more package ranges on OSV.dev
Vendor advisories
nodejs-handlebars: Remote code execution when compiling untrusted compile templates with compat:true option
servicemesh-grafana as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana-prometheus as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana.src as a component of OpenShift Service Mesh 2.0 · +19 more
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.2 security update
Red Hat Security Advisory: Openshift Logging 5.2.3 bug fix and security update
Red Hat Security Advisory: Openshift Logging 5.1.4 bug fix and security update
Red Hat Security Advisory: Red Hat OpenShift Enterprise security and bug fix update
Fix
- Update Handlebarsjs handlebars to 4.7.7
- Vendor fix Red Hat Product Security RHSA-2023:1334 · 1 productFor on-premise installations, before applying the update, back up your existing installation including all applications, configuration files, databases and database settings, and so on. Red Hat recommends that you halt the server by stopping the JBoss Application Server process before installing t…
- Vendor fix Red Hat Product Security RHSA-2021:4032 · 3 productsFor OpenShift Container Platform 4.9 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 errata update: https://docs.openshift.com/container-platform/4.9/release_notes/ocp-4-9-release-notes.…
- Vendor fix Red Hat Product Security RHSA-2021:4628 · 3 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 errata update: https://docs.openshift.com/container-platform/4.8/release_notes/ocp-4-8-release-notes.…
- Vendor fix Red Hat Product Security RHSA-2021:2500 · 3 productsFor OpenShift Container Platform 4.6 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.6/release_notes/ocp-4-6-r…
- No fix available, says the vendor Red Hat Product Security CVE-2021-23383 · 8 productsFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2021-23383 · 6 productsAffected
Advisories and patches
- github.comPatch
- snyk.ioPatch
- snyk.ioPatch
- snyk.ioPatch
- snyk.ioPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01dn9uy3n/Check-CVE-2021-23383fazilbaig1/CVE-2021-23383
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-10-08
- CNACVSS 3.15.6known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.07.5read 2026-10-23
- NVDweakness (CWE)CWE-1321read 2026-10-23
- FIRST EPSSEPSS score4.5 %2026-12-03
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2021-05-19
Identifiers
- CGA-25hc-88m5-6cxvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-27hv-25p6-x3cxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-28vf-9q2x-f439same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fc8-fr49-m7cmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2gq5-qxgm-wr9msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hc2-jg5q-6qpvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2wcr-p643-m9v5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2xj9-wcxw-7rq5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-33w3-x6wc-22pcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-37wr-4cfq-65jqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3jm3-9chf-h2h4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3qgc-vhvv-g2q2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-44f9-v9h6-xpgmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-45gh-57jw-q3mcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4629-3362-phvgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4mpr-53h5-x339same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4qmm-g6fx-45mgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wc8-3jp3-p67msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5gxv-pg29-h429same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5wvh-jc49-3gxvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6265-g6v9-q274same flawChainguard · CC-BY-NC-ND-4.0
- CGA-64m7-8fh5-gf54same flawChainguard · CC-BY-NC-ND-4.0
- CGA-65mg-v5xr-3w3msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-67rh-5f6x-v62hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6c3g-vrw7-8738same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6gx4-fqxh-5982same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6j5j-v28v-jx7rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6mrx-6649-rm29same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6ppr-g46w-68crsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6rxp-mpg7-ppmwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7c45-ggc7-8mmjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7c65-mj2q-9f4vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7fvw-mr2v-gj8hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7g82-rxf6-qv3wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7p42-gj43-mvw9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7q7q-22hw-729rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7rvw-8wmj-4hx3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7v7f-qjvh-cc3xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-863f-jwmr-ghfcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8977-4x6m-pm8jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-899j-mc78-4mmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8cg8-683q-hwwwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8m78-5g8v-wq37same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8pg9-65fh-9fhrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8phj-qxvq-pq43same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8wfp-3fxg-rv6gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-94q6-79xc-vfwvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-979v-5965-w779same flawChainguard · CC-BY-NC-ND-4.0
- CGA-98m3-78w2-83mrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-99rf-2j64-p9wcsame flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2021-05-04
- Last modified
- 2026-10-08
- NVD status
- Modified
- GitHub advisory
- GHSA-765h-qjxv-5f44
Frequently asked questions
What is CVE-2021-23383?
Is CVE-2021-23383 actively exploited?
What is the CVSS score for CVE-2021-23383?
Running handlebars? 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 checks · 250 API requests/month
Go further
- 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.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-765h-qjxv-5f44
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0