cve.bz

CVE-2021-23383 Prototype Pollution

9.8 criticalExploit referenceEPSS 4.5%Fix available

Critical (9.8). EPSS 4.5% estimated probability of exploitation activity in the next 30 days. Fixed in handlebars 4.7.7.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-23383 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-23383?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-23383?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-23383 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-23383

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-23383](https://cve.bz/cve/badge/CVE-2021-23383.svg)](https://cve.bz/cve/CVE-2021-23383)

HTML:

<a href="https://cve.bz/cve/CVE-2021-23383"><img src="https://cve.bz/cve/badge/CVE-2021-23383.svg" alt="CVE-2021-23383"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
handlebarsjs:handlebarsbefore 4.7.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-765h-qjxv-5f44npmhandlebars<4.7.74.7.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-handlebars3:4.7.6+~4.1.0-2DEBIAN-CVE-2021-23383
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-handlebarsno fix listedUBUNTU-CVE-2021-23383

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat OpenShift Container Platform (OCP) 4 delivers the kibana component which includes Handlebars.js. Starting in 4.6, kibana is shipping as "container first" content. As such, the fix for OCP will be seen in the affected products table under openshift4/ose-logging-kibana6. The separate package "kibana" listed under "OpenShift Container Platform 4" is only used by 4.5 and earlier and will not be fixed.

In OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM) some components include the vulnerable handlebars library, but access is protected by OpenShift OAuth what reducing impact by this flaw to LOW.

Red Hat Quay includes Handlebars.js as a development dependency. It does not use Handlebars.js at runtime to process templates so have been given a low impact rating.

Red Hat Gluster Storage 3 bundles vulnerable Handlebars.js (with pcs), however it does not use "compat" option and templates from external sources, hence this issue has been rated as having a security impact of Low.

ProductPackageStateAdvisory
OpenShift Logging 5.1openshift-logging/kibana6-rhel8:v6.8.1-48Fixed 2021-11-17RHSA-2021:4628
OpenShift Logging 5.2openshift-logging/kibana6-rhel8:v6.8.1-47Fixed 2021-11-17RHSA-2021:4032
Red Hat OpenShift Container Platform 4.6openshift4/ose-logging-kibana6:v4.6.0-202106181629.p0.git.40f3e72Fixed 2021-06-29RHSA-2021:2500
RHPAM 7.13.1 asynchandlebarsFixed 2023-03-20RHSA-2023:1334
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.0servicemesh-prometheusAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/application-ui-rhel8Affected
Red Hat Enterprise Linux 6pcsOut of support scope
Red Hat Enterprise Linux 7pcsOut of support scope
Red Hat Enterprise Linux 8pcsFix deferred
Red Hat Enterprise Linux 9pcsNot affected
Red Hat OpenShift Container Platform 3.11kibanaFix deferred
Red Hat OpenShift Container Platform 4kibanaWill not fix
Red Hat Quay 3quay/quay-rhel8Fix deferred
Red Hat Storage 3pcsFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-23383.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON