{"cve":"CVE-2023-34236","nvd":{"published":"2023-07-14T22:15:09.083","modified":"2026-06-17T06:03:11.423","status":"Modified","description":"Weave GitOps Terraform Controller (aka Weave TF-controller) is a controller for Flux to reconcile Terraform resources in a GitOps way. 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. This vulnerability has been addressed in Weave GitOps Terraform Controller versions `v0.14.4` and `v0.15.0-rc.5`. Users are urged to upgrade to one of these versions to mitigate the vulnerability. As a temporary measure until the patch can be applied, users can add the environment variable `DISABLE_TF_LOGS` to the tf-runners via the runner pod template of the Terraform Custom Resource. This will prevent the logging of sensitive information and mitigate the risk of this vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-200"],"references":["https://github.com/weaveworks/tf-controller/commit/28282bc644054e157c3b9a3d38f1f9551ce09074","https://github.com/weaveworks/tf-controller/commit/6323b355bd7f5d2ce85d0244fe0883af3881df4e","https://github.com/weaveworks/tf-controller/commit/9708fda28ccd0466cb0a8fd409854ab4d92f7dca","https://github.com/weaveworks/tf-controller/commit/98a0688036e9dbcf43fa84960d9a1ef3e09a69cf","https://github.com/weaveworks/tf-controller/issues/637"],"products":["weave:gitops_terraform_controller"],"source":"nvd","synced_at":"2026-10-19T21:38:35.729974749+00:00"},"epss":{"cve":"CVE-2023-34236","score":0.00961,"percentile":0.61571,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6hvv-j432-23cv","url":"https://osv.dev/vulnerability/GHSA-6hvv-j432-23cv","summary":"Weave GitOps Terraform Controller Information Disclosure Vulnerability","modified":"2026-09-10T03:49:54.329576616Z","packages":[{"ecosystem":"Go","name":"github.com/weaveworks/tf-controller","purl":"pkg:golang/github.com/weaveworks/tf-controller","ranges":["<0.14.4"],"fixed":["0.14.4"]},{"ecosystem":"Go","name":"github.com/weaveworks/tf-controller","purl":"pkg:golang/github.com/weaveworks/tf-controller","ranges":[">=0.15.0-rc.1 <0.15.0-rc.5"],"fixed":["0.15.0-rc.5"]}]},{"id":"GO-2023-1925","url":"https://osv.dev/vulnerability/GO-2023-1925","summary":"Weave GitOps Terraform Controller Information Disclosure Vulnerability in github.com/weaveworks/tf-controller","modified":"2026-03-03T04:53:58.578059Z","packages":[{"ecosystem":"Go","name":"github.com/weaveworks/tf-controller","purl":"pkg:golang/github.com/weaveworks/tf-controller","ranges":["<0.14.4",">=0.15.0-rc.1 <0.15.0-rc.5"],"fixed":["0.14.4","0.15.0-rc.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}