CVE-2022-38149: Insertion of Sensitive Information into Log File
(updated )
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.
References
- discuss.hashicorp.com/
- discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215
- github.com/advisories/GHSA-8449-7gc2-pwrp
- github.com/hashicorp/consul-template/commit/d6a6f4af219c28e67d847ba0e0b2bea8f5bb9076
- nvd.nist.gov/vuln/detail/CVE-2022-38149
- pkg.go.dev/vuln/GO-2022-0980
Detect and mitigate CVE-2022-38149 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →