ADVISORIES

Go Vulnerability Database

GO-2022-0980

Exposure of Vault secrets via error messages in github.com/hashicorp/consul-template

Details

The text of errors returned by Template.Execute can contain Vault secrets, potentially revealing these secrets in logs or error reports.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/hashicorp/consul-template
All versions before 0.27.3 (fixed in 0.27.3)
From 0.28.0 before 0.28.3 (fixed in 0.28.3)
From 0.29.0 before 0.29.2 (fixed in 0.29.2)

References