CVE-2022-38149

consul: Consul Template May Expose Vault Secrets When Processing Invalid Input

Published Aug 17, 2022 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6511 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.
Github GHSA Github GHSA GHSA-8449-7gc2-pwrp HashiCorp Consul Template could reveal Vault secret contents in error messages
History

No history.

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 10:45 AM
Reserved
Aug 11, 2022, 12:00 AM
Status
Modified
Published
Aug 17, 2022, 3:15 PM
Modified
Jun 17, 2026, 4:56 AM
Severity
Moderate
Public date
Aug 16, 2022, 12:00 AM