CVE-2021-23383
nodejs-handlebars: Remote code execution when compiling untrusted compile templates with compat:true option
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Ruby Advisory DB. Más baja según Red Hat (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| 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 y 35 más | 0 y 1 más |
| debian 10 | node-handlebars | sin corrección indicada |
| 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 | sin corrección indicada |
| echo | node-handlebars | 3:4.7.6+~4.1.0-2 |
| Red Hat | kibana, pcs, pcs-snmp y 4 más | sin corrección indicada |
| seal npm::Seal Security Database | @seal-security/handlebars, handlebars | 4.1.2-sp999 |
Mostrar las 57 entradas de 13 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| 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 | sin corrección indicada |
| 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 | sin corrección indicada |
| echo | node-handlebars | 3:4.7.6+~4.1.0-2 |
| Red Hat | kibana | sin corrección indicada |
| Red Hat | pcs | sin corrección indicada |
| Red Hat | pcs-snmp | sin corrección indicada |
| Red Hat | python-clufter | sin corrección indicada |
| Red Hat | servicemesh-grafana | sin corrección indicada |
| Red Hat | servicemesh-grafana-prometheus | sin corrección indicada |
| Red Hat | servicemesh-prometheus | sin corrección indicada |
| seal npm::Seal Security Database | @seal-security/handlebars | 4.1.2-sp999 |
| seal npm::Seal Security Database | handlebars | 4.1.2-sp999 |
| wolfi | code-server | 0 |
Referencias
- https://access.redhat.com/security/cve/CVE-2021-23383
- https://github.com/advisories/GHSA-765h-qjxv-5f44
- https://github.com/handlebars-lang/handlebars.js
- https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/handlebars-source/CVE-2021-23383.yml
- https://nvd.nist.gov/vuln/detail/CVE-2021-23383
- https://security.netapp.com/advisory/ntap-20210618-0007
- https://security.netapp.com/advisory/ntap-20210618-0007/