CVE-2021-23383Prototype Pollution
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-handlebars | Fix pending | UBUNTU-CVE-2021-23383 | |
| Ubuntu 26.04 | node-handlebars | Under investigation | UBUNTU-CVE-2021-23383 | |
| Ubuntu 25.10 | node-handlebars | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23383 | |
| Ubuntu 24.04 | node-handlebars | Under investigation | UBUNTU-CVE-2021-23383 | |
| Ubuntu 22.04 | node-handlebars | Under investigation | UBUNTU-CVE-2021-23383 | |
| Ubuntu 20.04 | node-handlebars | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23383 | |
| Ubuntu 18.04 | node-handlebars | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23383 | |
| Debian 14 | node-handlebars | Fixed | 3:4.7.6+~4.1.0-2 | DEBIAN-CVE-2021-23383 |
| Debian 13 | node-handlebars | Fixed | 3:4.7.6+~4.1.0-2 | DEBIAN-CVE-2021-23383 |
| Debian 12 | node-handlebars | Fixed | 3:4.7.6+~4.1.0-2 | DEBIAN-CVE-2021-23383 |
| Red Hat Enterprise Linux 9 | pcs | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | pcs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | pcs-snmp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python-clufter | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | pcs | Will not fix Out of support scope | ||
| npm library | handlebars | Fixed | 4.7.7 | GHSA-765h-qjxv-5f44 |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- handlebars: affected: unspecified to before 4.7.7; fixed in
4.7.7
References
- https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1279029
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279030
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1279031
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1279032
- https://security.netapp.com/advisory/ntap-20210618-0007/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.