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

EcosystemPackageFixed inAdvisory
Alpine:v3.20consul-template0.29.2-r0ALPINE-CVE-2022-38149
Alpine:v3.21consul-template0.29.2-r0ALPINE-CVE-2022-38149
Alpine:v3.22consul-template0.29.2-r0ALPINE-CVE-2022-38149
Alpine:v3.23consul-template0.29.2-r0ALPINE-CVE-2022-38149
Alpine:v3.24consul-template0.29.2-r0ALPINE-CVE-2022-38149
Gogithub.com/hashicorp/consul-template0.27.3GHSA-8449-7gc2-pwrp
Gogithub.com/hashicorp/consul-template0.28.3GHSA-8449-7gc2-pwrp
Gogithub.com/hashicorp/consul-template0.29.2GHSA-8449-7gc2-pwrp
Gogithub.com/hashicorp/consul-template0.27.3, 0.28.3, 0.29.2GO-2022-0980

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References