Skip to main content
← All vulnerabilities
CVE-2022-38149GHSA-8449-7GC2-PWRPGO-2022-0980

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.T

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.27.3, 0.28.3, 0.29.2
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/hashicorp/consul-templateGo

    fixed in 0.27.3

  • github.com/hashicorp/consul-templateGo

    From 0.28.0 · fixed in 0.28.3

  • github.com/hashicorp/consul-templateGo

    From 0.29.0 · fixed in 0.29.2

  • github.com/hashicorp/consul-templateGo

    fixed in 0.27.3; From 0.28.0 · fixed in 0.28.3; From 0.29.0 · fixed in 0.29.2

References 2

discuss.hashicorp.com