CVE-2021-23369
nodejs-handlebars: Remote code execution when compiling untrusted compile templates with strict:true option
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Ruby Advisory DB. Plus basse selon Red Hat (moyenne), Ubuntu (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.webjars.bowergithub.wycats:handlebars.js, org.webjars.npm:handlebars, org.webjars:handlebars | 4.7.7 |
| npm::GitHub Security Advisory npm | handlebars | 4.7.7 |
| rubygems::Ruby Advisory Database | handlebars-source | >= 4.7.7 |
| chainguard | code-server, commercial-gitlab-rails-ee-19.2, commercial-gitlab-rails-ee-19.3 et 35 autres | 0 et 1 autres |
| debian 10 | node-handlebars | 3:4.1.0-1+deb10u3 |
| debian 11 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 12 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 13 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 14 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 9 | libjs-handlebars | pas de correctif indiqué |
| echo | node-handlebars | 3:4.7.6+~4.1.0-2 |
| Red Hat | kibana, ovirt-engine-ui-extensions, ovirt-web-ui et 6 autres | pas de correctif indiqué |
Afficher les 65 entrées de 17 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.webjars.bowergithub.wycats:handlebars.js | 4.7.7 |
| maven::GitHub Security Advisory Maven | org.webjars.npm:handlebars | 4.7.7 |
| maven::GitHub Security Advisory Maven | org.webjars:handlebars | 4.7.7 |
| npm::GitHub Security Advisory npm | handlebars | 4.7.7 |
| rubygems::Ruby Advisory Database | handlebars-source | >= 4.7.7 |
| chainguard | code-server | 0 |
| chainguard | commercial-gitlab-rails-ee-19.2 | 0 |
| chainguard | commercial-gitlab-rails-ee-19.3 | 0 |
| chainguard | commercial-gitlab-rails-ee-19.4 | 0 |
| chainguard | commercial-gitlab-rails-ee-fips-19.2 | 0 |
| chainguard | commercial-gitlab-rails-ee-fips-19.3 | 0 |
| chainguard | commercial-gitlab-rails-ee-fips-19.4 | 0 |
| chainguard | gitlab-rails-ce-18.1 | 0 |
| chainguard | gitlab-rails-ce-18.11 | 0 |
| chainguard | gitlab-rails-ce-18.2 | 0 |
| chainguard | gitlab-rails-ce-18.3 | 0 |
| chainguard | gitlab-rails-ce-18.4 | 0 |
| chainguard | gitlab-rails-ce-18.5 | 0 |
| chainguard | gitlab-rails-ce-18.6 | 0 |
| chainguard | gitlab-rails-ce-18.7 | 0 |
| chainguard | gitlab-rails-ce-18.8 | 0 |
| chainguard | gitlab-rails-ce-18.9 | 0 |
| chainguard | gitlab-rails-ce-19.0 | 0 |
| chainguard | gitlab-rails-ce-19.1 | 0 |
| chainguard | gitlab-rails-ce-19.2 | 0 |
| chainguard | gitlab-rails-ce-19.3 | 0 |
| chainguard | gitlab-rails-ce-19.4 | 0 |
| chainguard | gitlab-rails-ce-19.5 | 0 |
| chainguard | gitlab-rails-ce-fips-18.1 | 0 |
| chainguard | gitlab-rails-ce-fips-18.11 | 0 |
| chainguard | gitlab-rails-ce-fips-18.2 | 0 |
| chainguard | gitlab-rails-ce-fips-18.3 | 0 |
| chainguard | gitlab-rails-ce-fips-18.4 | 0 |
| chainguard | gitlab-rails-ce-fips-18.5 | 0 |
| chainguard | gitlab-rails-ce-fips-18.6 | 0 |
| chainguard | gitlab-rails-ce-fips-18.7 | 0 |
| chainguard | gitlab-rails-ce-fips-18.8 | 0 |
| chainguard | gitlab-rails-ce-fips-18.9 | 0 |
| chainguard | gitlab-rails-ce-fips-19.0 | 0 |
| chainguard | gitlab-rails-ce-fips-19.1 | 0 |
| chainguard | gitlab-rails-ce-fips-19.2 | 0 |
| chainguard | gitlab-rails-ce-fips-19.3 | 0 |
| chainguard | gitlab-rails-ce-fips-19.4 | 19.4.0-r1 |
| debian 10 | node-handlebars | 3:4.1.0-1+deb10u3 |
| debian 11 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 12 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 13 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 14 | node-handlebars | 3:4.7.6+~4.1.0-2 |
| debian 9 | libjs-handlebars | pas de correctif indiqué |
| echo | node-handlebars | 3:4.7.6+~4.1.0-2 |
| Red Hat | kibana | pas de correctif indiqué |
| Red Hat | ovirt-engine-ui-extensions | pas de correctif indiqué |
| Red Hat | ovirt-web-ui | pas de correctif indiqué |
| Red Hat | pcs | pas de correctif indiqué |
| Red Hat | pcs-snmp | pas de correctif indiqué |
| Red Hat | python-clufter | pas de correctif indiqué |
| Red Hat | servicemesh-grafana | pas de correctif indiqué |
| Red Hat | servicemesh-grafana-prometheus | pas de correctif indiqué |
| Red Hat | servicemesh-prometheus | pas de correctif indiqué |
| seal npm::Seal Security Database | @seal-security/handlebars | 4.1.2-sp999 |
| seal npm::Seal Security Database | handlebars | 4.1.2-sp999 |
| ubuntu 18.04-ESM | node-handlebars | pas de correctif indiqué |
| ubuntu 20.04-ESM | node-handlebars | pas de correctif indiqué |
| ubuntu 22.04 | node-handlebars | pas de correctif indiqué |
| wolfi | code-server | 0 |
Références
- https://access.redhat.com/security/cve/CVE-2021-23369
- https://github.com/advisories/GHSA-f2jv-r9rf-7988
- 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://nvd.nist.gov/vuln/detail/CVE-2021-23369
- https://security.netapp.com/advisory/ntap-20210604-0008
- https://security.netapp.com/advisory/ntap-20210604-0008/