PT-2022-24241 · Hashicorp · Hashicorp Consul Template
Fulton Byrne
·
Published
2022-08-17
·
Updated
2022-09-21
·
CVE-2022-38149
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
HashiCorp Consul Template versions 0.27.2 and earlier, 0.28.2 and earlier, 0.29.1 and earlier
Description
The issue concerns the potential exposure of Vault secrets in error messages returned by the
*template.Template.Execute method when a template using Vault secret contents is used incorrectly. This could lead to the revelation of sensitive information in logs or error reports. The problem arises when invalid templates are used, causing the method to inadvertently include Vault secrets in the error string.Recommendations
For HashiCorp Consul Template versions 0.27.2 and earlier, update to version 0.27.3 or later.
For HashiCorp Consul Template versions 0.28.2 and earlier, update to version 0.28.3 or later.
For HashiCorp Consul Template versions 0.29.1 and earlier, update to version 0.29.2 or later.
Fix
Insertion into Log File
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hashicorp Consul Template