Vulnerability · Published Aug 17, 2022 · Assigned by mitre
CVE-2022-38149
High 7.5
In plain English
A high-severity security flaw in the consul-template package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)0.9%top 40.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | consul-template | 0.29.2-r0 | ALPINE-CVE-2022-38149 |
| Alpine:v3.21 | consul-template | 0.29.2-r0 | ALPINE-CVE-2022-38149 |
| Alpine:v3.22 | consul-template | 0.29.2-r0 | ALPINE-CVE-2022-38149 |
| Alpine:v3.23 | consul-template | 0.29.2-r0 | ALPINE-CVE-2022-38149 |
| Alpine:v3.24 | consul-template | 0.29.2-r0 | ALPINE-CVE-2022-38149 |
| Go | github.com/hashicorp/consul-template | 0.27.3 | GHSA-8449-7gc2-pwrp |
| Go | github.com/hashicorp/consul-template | 0.28.3 | GHSA-8449-7gc2-pwrp |
| Go | github.com/hashicorp/consul-template | 0.29.2 | GHSA-8449-7gc2-pwrp |
| Go | github.com/hashicorp/consul-template | 0.27.3, 0.28.3, 0.29.2 | GO-2022-0980 |