High severityNVD Advisory· Published Aug 17, 2022· Updated Aug 3, 2024
CVE-2022-38149
CVE-2022-38149
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/hashicorp/consul-templateGo | < 0.27.3 | 0.27.3 |
github.com/hashicorp/consul-templateGo | >= 0.28.0, < 0.28.3 | 0.28.3 |
github.com/hashicorp/consul-templateGo | >= 0.29.0, < 0.29.2 | 0.29.2 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-8449-7gc2-pwrpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-38149ghsaADVISORY
- discuss.hashicorp.commitrex_refsource_MISC
- discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215ghsax_refsource_MISCWEB
- github.com/hashicorp/consul-template/commit/d6a6f4af219c28e67d847ba0e0b2bea8f5bb9076ghsaWEB
- pkg.go.dev/vuln/GO-2022-0980ghsaWEB
News mentions
0No linked articles in our index yet.