cve.bz

CVE-2022-38149

7.5 highEPSS 0.8%

High (7.5) in hashicorp consul template. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in github.com/hashicorp/consul-template 0.27.3, 0.28.3, 0.29.2.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-532
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8449-7gc2-pwrpGogithub.com/hashicorp/consul-template<0.27.30.27.3
GHSA-8449-7gc2-pwrpGogithub.com/hashicorp/consul-template>=0.28.0 <0.28.30.28.3
GHSA-8449-7gc2-pwrpGogithub.com/hashicorp/consul-template>=0.29.0 <0.29.20.29.2
GO-2022-0980Gogithub.com/hashicorp/consul-template<0.27.3
>=0.28.0 <0.28.3
>=0.29.0 <0.29.2
0.27.3, 0.28.3, 0.29.2

References

Check your stackJSON