CVE-2022-38149
publishedconsul: Consul Template May Expose Vault Secrets When Processing Invalid Input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | consul-template | Fixed | 0.29.2-r0 | Package fix record |
| Alpine Linux | v3.17 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
| Alpine Linux | v3.18 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
| Alpine Linux | v3.19 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
| Alpine Linux | v3.20 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
| Alpine Linux | v3.21 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
| Alpine Linux | v3.22 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
| Alpine Linux | v3.24 | consul-template | Fixed | 0.29.2-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
2Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 580221c37c81a6047aa3dc9807d41af97ab2260948d70cffdda5918afe13a0ce
- Ingested
- 23 Sep 2026, 08:01:45 UTC
- Source record
- Official CVE record