CVE-2021-23369
5.6medium
Remote Code Execution (RCE)
- Severity
- 5.6medium CVSS:3.1 by snyk
- Exploit likelihood
- 7.03% (higher than 94% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-f2jv-r9rf-7988
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| handlebars | from unspecified before 4.7.7 | CVE List |
| handlebars (npm) | before 4.7.7 | GitHub Advisory Database |
| org.webjars:handlebars (Maven) | before 4.7.7 | GitHub Advisory Database |
| org.webjars.npm:handlebars (Maven) | before 4.7.7 | GitHub Advisory Database |
| org.webjars.bowergithub.wycats:handlebars.js (Maven) | before 4.7.7 | GitHub Advisory Database |
| handlebarsjs handlebars | before 4.7.7 | NVD |
All scores
| snyk | 5.6medium CVSS:3.1 | 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 |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
El paquete handlebars versiones anteriores a 4.7.7, son vulnerables a una Ejecución de Código Remota (RCE) al seleccionar determinadas opciones de compilación para compilar plantillas que provienen de una fuente no confiable
References
| https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952 | exploit, third-party-advisory, web | |
| https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8 | patch, third-party-advisory, web | |
| https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427 | patch, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20210604-0008/ | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23369 | advisory | |
| https://github.com/wycats/handlebars.js | package | |
| https://security.netapp.com/advisory/ntap-20210604-0008 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23369 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f2jv-r9rf-7988 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-23369 changed 2026-10-08 | Public domain |