Information Exposure Through Log Files Affecting consul-template package, versions <0.29.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.87% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE322-CONSULTEMPLATE-10276867
  • published31 May 2025
  • disclosed17 Aug 2022

Introduced: 17 Aug 2022

CVE-2022-38149  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade Alpine:3.22 consul-template to version 0.29.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream consul-template package and not the consul-template package as distributed by Alpine. See How to fix? for Alpine:3.22 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1