GHSA-8449-7gc2-pwrp
Dashboard / Vulnerabilities / GHSA-8449-7gc2-pwrp
GHSA-8449-7gc2-pwrp
Summary: HashiCorp Consul Template could reveal Vault secret contents in error messages
Details: In HashiCorp Consul Template through version 0.29.1, invalid templates could inadvertently reveal the contents of Vault secret in errors returned by the `*template.Template.Execute 5` method, when given a template using Vault secret contents incorrectly. This method has been updated to redact Vault secrets when creating an error string, making it safe to log the error.. This issue was fixed in version 0.29.2.
References: https://nvd.nist.gov/vuln/detail/CVE-2022-38149, https://github.com/hashicorp/consul-template/commit/d6a6f4af219c28e67d847ba0e0b2bea8f5bb9076, https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215, https://github.com/hashicorp/consul, https://pkg.go.dev/vuln/GO-2022-0980
Affected packages
Package
Name: github.com/hashicorp/consul-template
Purl: pkg:golang/github.com/hashicorp/consul-template
Affected ranges
Type: SEMVER
Events:
