cve.bz

CVE-2023-34236 weave gitops terraform controller

6.5 mediumExploit referenceEPSS 1.0%Fix available

Medium (6.5) in weave gitops terraform controller. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/weaveworks/tf-controller 0.14.4, 0.15.0-rc.5.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-34236 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-34236?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-34236?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-34236 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
weave:gitops_terraform_controllerbefore 0.14.4
weave:gitops_terraform_controller0.15.0:rc1
weave:gitops_terraform_controller0.15.0:rc2
weave:gitops_terraform_controller0.15.0:rc3
weave:gitops_terraform_controller0.15.0:rc4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6hvv-j432-23cvGogithub.com/weaveworks/tf-controller<0.14.40.14.4
GHSA-6hvv-j432-23cvGogithub.com/weaveworks/tf-controller>=0.15.0-rc.1 <0.15.0-rc.50.15.0-rc.5
GO-2023-1925Gogithub.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

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON