CVE-2022-38149 HashiCorp Consul Template could reveal Vault secret contents in error messages
HighCVSS 7.5
EPSS 0.87%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/consul-template(Go) | < 0.27.3 | 0.27.3 |
| hashicorp github.com/hashicorp/consul-template(Go) | >= 0.28.0, < 0.28.3 | 0.28.3 |
| hashicorp github.com/hashicorp/consul-template(Go) | >= 0.29.0, < 0.29.2 | 0.29.2 |
| hashicorp consul template | < 0.29.2 | 0.29.2 |
| alpine/consul-template(Alpine:v3.17) | < 0.29.2-r0 | 0.29.2-r0 |
| alpine/consul-template(Alpine:v3.18) | < 0.29.2-r0 | 0.29.2-r0 |
| alpine/consul-template(Alpine:v3.19) | < 0.29.2-r0 | 0.29.2-r0 |
| alpine/consul-template(Alpine:v3.20) | < 0.29.2-r0 | 0.29.2-r0 |
| alpine/consul-template(Alpine:v3.21) | < 0.29.2-r0 | 0.29.2-r0 |
| alpine/consul-template(Alpine:v3.22) | < 0.29.2-r0 | 0.29.2-r0 |
| alpine/consul-template(Alpine:v3.23) | < 0.29.2-r0 | 0.29.2-r0 |
| alpine/consul-template(Alpine:v3.24) | < 0.29.2-r0 | 0.29.2-r0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- discuss.hashicorp.com vendor-advisory
- github.com product
- pkg.go.dev
- github.com
- discuss.hashicorp.com vendor-advisory
- security.alpinelinux.org vendor-advisory