CVE-2021-23383 json
Prototype Pollution
published 2021-05-04 5 y ago modified 2026-10-08 31 d ago also GHSA-765h-qjxv-5f44 , EUVD-2022-0882
- cvss
- 5.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm handlebars 4.7.7
- n/a handlebars 4.7.7
- node-handlebars Debian 14, Debian 13, Debian 12 3:4.7.6+~4.1.0-2
debian advisories DEBIAN-CVE-2021-23383
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23383 updated cvss 9.8
nodejs-handlebars: Remote code execution when compiling untrusted compile templates with compat:true option
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheus Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/application-ui-rhel8affected: no fix available
-
Red Hat Enterprise Linux 6 pcs Red Hat Enterprise Linux 7 pcs, pcs-snmp, python-clufteraffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 pcs, pcs-snmp Red Hat OpenShift Container Platform 3.11 kibanaaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4 kibanaaffected: no fix planned “Will not fix”
-
Red Hat Quay 3 quay/quay-rhel8 Red Hat Storage 3 pcsaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Logging 5.1 openshift-logging/kibana6-rhel8 v6.8.1-48fixed: vendor fix RHSA-2021:4628
-
Red Hat OpenShift Logging 5.2 openshift-logging/kibana6-rhel8 v6.8.1-47fixed: vendor fix RHSA-2021:4032
-
Red Hat OpenShift Container Platform 4.6 openshift4/ose-logging-kibana6 v4.6.0-202106181629.p0.git.40f3e72fixed: vendor fix RHSA-2021:2500
show 2 moreshow fewer
-
Red Hat RHPAM 7.13.1 asyncfixed: vendor fix RHSA-2023:1334
-
Red Hat OpenShift Logging 5.1 openshift-logging/fluentd-rhel8 v1.7.4-39, openshift-logging/eventrouter-rhel8 v0.3.0-39, openshift-logging/elasticsearch6-rhel8 v6.8.1-39, openshift-logging/elasticsearch-proxy-rhel8 v1.0.0-41, openshift-logging/elasticsearch-rhel8-operator v5.1.4-2, openshift-logging/elasticsearch-operator-bundle v5.1.4-9, +2 more Red Hat OpenShift Logging 5.2 openshift-logging/fluentd-rhel8 v1.7.4-43, openshift-logging/eventrouter-rhel8 v0.3.0-43, openshift-logging/elasticsearch6-rhel8 v6.8.1-43, openshift-logging/logging-curator5-rhel8 v5.8.1-31, openshift-logging/elasticsearch-proxy-rhel8 v1.0.0-45, openshift-logging/elasticsearch-rhel8-operator v5.2.3-6, +4 more Red Hat Enterprise Linux 9 pcs, pcs-snmp Red Hat OpenShift Container Platform 4.6 openshift4/ose-logging-fluentd v4.6.0-202106181629.p0.git.40f3e72, openshift4/ose-logging-curator5 v4.6.0-202106181629.p0.git.40f3e72, openshift4/ose-elasticsearch-operator v4.6.0-202106181629.p0.git.c07c7ab, openshift4/ose-logging-elasticsearch6 v4.6.0-202106181629.p0.git.40f3e72, openshift4/ose-cluster-logging-operator v4.6.0-202106181629.p0.git.c7e8377, openshift4/ose-metering-ansible-operator v4.6.0-202106160917.p0.git.d74112d, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 31 d ago
Exploit prediction
4.51% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1279029 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279030 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1279031 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1279032 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 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 |
| CNA | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | handlebars | <4.7.7 |
4.7.7 |
Affected products
- n/a handlebars
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-HANDLEBARS-1279029
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279030
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARS-1279031
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1279032
web, exploit, patch, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210618-0007/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23383
advisory
-
github.com
/handlebars-lang/handlebars.js
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/handlebars-source/CVE-2021-23383.yml
web
-
security.netapp.com
/advisory/ntap-20210618-0007
web
-
npmjs.com
/package/handlebars
web
Sources
- CVE List CVE-2021-23383
- GitHub Advisory GHSA-765h-qjxv-5f44
- NVD CVE-2021-23383
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.