High, CVSS 8.5GoPublished
Weave GitOps Terraform Controller Information Disclosure Vulnerability
CVE-2023-34236 · GHSA-6hvv-j432-23cv
- Affected
- Go github.com/weaveworks/tf-controller < 0.14.4; >= 0.15.0-rc.1, < 0.15.0-rc.5
- Fixed in
- 0.15.0-rc.50.14.4· Vendor fix available
- Issue
- Impact A vulnerability has been identified in Weave GitOps Terraform Controller which could allow an authenticated remote attacker to view sensitive information. This vulnerability stems from Weave GitOps Terraform Runners (tf-runner), where sensitive data is inadvertently printed - potentially revealing sensitive user data in their pod logs. In particular, functions tfexec.ShowPlan, tfexec.ShowPlanRaw, and tfexec.Output are implicated when the tfexec object set its Stdout and Stderr to be os.Stdout and os.Stderr. An unauthorized remote attacker could exploit this vulnerability by accessing these prints of sensitive information, which may contain configurations or tokens that could be used to gain unauthorized control or access to resources managed by the Terraform controller. A successful exploit could allow the attacker to utilize this sensitive data, potentially leading to unauthorized access or control of the system. Patches This vulnerability has been addressed in Weave GitOps…
Recommended action: Upgrade to 0.15.0-rc.5 (pre-release) or 0.14.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.