Information Exposure Affecting github.com/hashicorp/consul-template/template package, versions <0.29.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.16% (54th 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 Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPCONSULTEMPLATETEMPLATE-2987129
  • published18 Aug 2022
  • disclosed18 Aug 2022
  • creditFulton Byrne

Introduced: 18 Aug 2022

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

How to fix?

Upgrade github.com/hashicorp/consul-template/template to version 0.29.2 or higher.

Overview

github.com/hashicorp/consul-template/template is a template rendering, notifier, and supervisor for @hashicorp Consul and Vault data

Affected versions of this package are vulnerable to Information Exposure in error output from the Template.Execute function in template.go, which can reveal secrets and send them to be written into logs.

CVSS Scores

version 3.1