CVE-2022-38149Hashicorp Consul Template
Alta 7.5 Sin autenticación
Seguir: esta CVE · Hashicorp · Hashicorp Consul Template Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 58
- Requiere autenticación
- No
- Publicada
- 17 ago 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-532
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
HashiCorp Consul Template up to 0.27.2, 0.28.2, and 0.29.1 may expose the contents of Vault secrets in the error returned by the *template.Template.Execute method, when given a template using Vault secret contents incorrectly. Fixed in 0.27.3, 0.28.3, and 0.29.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Consul Template.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/hashicorp/consul-template |
< 0.27.3 |
0.27.3 |
go get github.com/hashicorp/consul-template@v0.27.3 |
| Go | github.com/hashicorp/consul-template |
≥ 0.28.0 < 0.28.3 |
0.28.3 |
go get github.com/hashicorp/consul-template@v0.28.3 |
| Go | github.com/hashicorp/consul-template |
≥ 0.29.0 < 0.29.2 |
0.29.2 |
go get github.com/hashicorp/consul-template@v0.29.2 |
| Go | github.com/hashicorp/consul-template |
< 0.27.3 |
0.27.3 |
go get github.com/hashicorp/consul-template@v0.27.3 |
| Go | github.com/hashicorp/consul-template |
≥ 0.28.0 < 0.28.3 |
0.28.3 |
go get github.com/hashicorp/consul-template@v0.28.3 |
| Go | github.com/hashicorp/consul-template |
≥ 0.29.0 < 0.29.2 |
0.29.2 |
go get github.com/hashicorp/consul-template@v0.29.2 |
Según OSV / GitHub Advisories (GHSA-8449-7gc2-pwrp, GO-2022-0980). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| hashicorp | consul_template | < 0.29.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- discuss.hashicorp.com Vendor Advisory
- discuss.hashicorp.com Vendor Advisory