
CVE catalog
CVE-2021-23369
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.
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 7.03% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-handlebars | sid | 3:4.7.10-1 | fixed |
| Debian | node-handlebars | forky | 3:4.7.10-1 | fixed |
| Debian | node-handlebars | trixie | 3:4.7.7+~4.1.0-1 | fixed |
| Debian | node-handlebars | bookworm | 3:4.7.7+~4.1.0-1 | fixed |
| Cpe | handlebars | Not reported | 4.7.7 | fixed |
| Ubuntu | node-handlebars | 18.04 | 3:4.0.10-5 | vulnerable |
| Ubuntu | node-handlebars | 20.04 | 3:4.1.0-1 | vulnerable |
| Ubuntu | node-handlebars | 20.04 | 3:4.5.3-1 | vulnerable |
| Ubuntu | node-handlebars | 20.04 | 3:4.7.2-1 | vulnerable |
| Ubuntu | node-handlebars | 22.04 | 3:4.7.6+~4.1.0-2 | vulnerable |
| Ubuntu | node-handlebars | 22.04 | 3:4.7.7+~4.1.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-handlebars | source | sid | 3:4.7.6+~4.1.0-2 | not yet assigned | Not reported | Not reported |
| Debian | node-handlebars | source | forky | 3:4.7.6+~4.1.0-2 | not yet assigned | Not reported | Not reported |
| Debian | node-handlebars | source | trixie | 3:4.7.6+~4.1.0-2 | not yet assigned | Not reported | Not reported |
| Debian | node-handlebars | source | bookworm | 3:4.7.6+~4.1.0-2 | not yet assigned | Not reported | Not reported |
| Cpe | handlebars | cpe | Not reported | 4.7.7 | Not reported | NVD-CVE-2021-23369 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [handlebars]Fixed
Source package: [node-handlebars]
Details (2)
3:4.7.7+~4.1.0-1· all · bookwormFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12
3:4.7.7+~4.1.0-1· all · bookwormFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12
- [libjs-handlebars]Fixed
Source package: [node-handlebars]
Details (2)
3:4.7.7+~4.1.0-1· all · bookwormFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12
3:4.7.7+~4.1.0-1· all · bookwormFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12
- [libjs-handlebars.runtime]Fixed
Source package: [node-handlebars]
Details (2)
3:4.7.7+~4.1.0-1· all · bookwormFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12
3:4.7.7+~4.1.0-1· all · bookwormFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12
[Debian 13 (Trixie)]
- [handlebars]Fixed
Source package: [node-handlebars]
Details (2)
3:4.7.7+~4.1.0-1· all · trixieFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · 13
3:4.7.7+~4.1.0-1· all · trixieFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · 13
- [libjs-handlebars]Fixed
Source package: [node-handlebars]
Details (2)
3:4.7.7+~4.1.0-1· all · trixieFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · 13
3:4.7.7+~4.1.0-1· all · trixieFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · 13
- [libjs-handlebars.runtime]Fixed
Source package: [node-handlebars]
Details (2)
3:4.7.7+~4.1.0-1· all · trixieFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · 13
3:4.7.7+~4.1.0-1· all · trixieFixed · Fixed:
3:4.7.6+~4.1.0-2nvd · node-handlebars · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2021-23369]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-23369]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-23369]
- [https://security-tracker.debian.org/tracker/CVE-2021-23369]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23369.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1646.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]