Security mailing lists by PureSourceCode

CVE-2023-34236

MEDIUM 6.5CVSS 3.1

Weave GitOps Terraform Controller Information Disclosure Vulnerability

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.

Published
14 Jul 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-200CWE-312CWE-522CWE-532
Also known as
GHSA-6hvv-j432-23cvGO-2023-1925
Sources
NVDJSONOSV GHSA-6hvv-j432-23cvJSONOSV GO-2023-1925JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD weave gitops_terraform_controller
cpe:2.3:a:weave:gitops_terraform_controller:*:*:*:*:*:*:*:*
< 0.14.4 0.14.4
NVD weave gitops_terraform_controller
cpe:2.3:a:weave:gitops_terraform_controller:0.15.0:rc1:*:*:*:*:*:*
= 0.15.0
NVD weave gitops_terraform_controller
cpe:2.3:a:weave:gitops_terraform_controller:0.15.0:rc2:*:*:*:*:*:*
= 0.15.0
NVD weave gitops_terraform_controller
cpe:2.3:a:weave:gitops_terraform_controller:0.15.0:rc3:*:*:*:*:*:*
= 0.15.0
NVD weave gitops_terraform_controller
cpe:2.3:a:weave:gitops_terraform_controller:0.15.0:rc4:*:*:*:*:*:*
= 0.15.0
OSV Go github.com/weaveworks/tf-controller < 0.14.4 0.14.4
OSV Go github.com/weaveworks/tf-controller >= 0.15.0-rc.1, < 0.15.0-rc.5 0.15.0-rc.5
OSV Go github.com/weaveworks/tf-controller < 0.14.4; >= 0.15.0-rc.1, < 0.15.0-rc.5 0.14.4, 0.15.0-rc.5

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Jul 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.