Remote code execution in handlebars when compiling templates
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.webjars.bowergithub.wycats:handlebars.js | < 4.7.7 | 4.7.7 |
| Java / Kotlin (Maven) | org.webjars:handlebars | < 4.7.7 | 4.7.7 |
| Java / Kotlin (Maven) | org.webjars.npm:handlebars | < 4.7.7 | 4.7.7 |
| npm-Paket | handlebars | < 4.7.7 | 4.7.7 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2021-23369
- https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8
- https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427
- https://github.com/wycats/handlebars.js
- https://security.netapp.com/advisory/ntap-20210604-0008
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-94- Plattform
- Java / Kotlin (Maven), npm
- Paket
org.webjars.bowergithub.wycats:handlebars.js, org.webjars:handlebars, org.webjars.npm:handlebars- Veröffentlicht
- 06.05.2021
- Aktualisiert
- 11.10.2026 13:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-f2jv-r9rf-7988 - CC BY 4.0
Schwachstellenhistorie: org.webjars.bowergithub.wycats:handlebars.js
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.