CVE-2023-34236
Information Disclosure Vulnerability in Weave GitOps Terraform Controller
Also known as GHSA-6hvv-j432-23cv, GO-2023-1925
Mitigation
- Upgrade github.com/weaveworks/tf-controller to one of 0.14.4, 0.15.0-rc.5 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/weaveworks/tf-controller (< 0.14.4)
- Anyone running weaveworks tf-controller < 0.14.4; >= 0.15.0-rc.1, < 0.15.0-rc.5
Vulnerability facts
- Affected
- github.com/weaveworks/tf-controller < 0.14.4
- Fixed in
- 0.14.4, 0.15.0-rc.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 8.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.00% chance of exploitation in 30 days (percentile 62, 2026-11-26)
- CWE
- CWE-200
- 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/weaveworks/tf-controller | < 0.14.4 | 0.14.4, 0.15.0-rc.5 | osv |
| weaveworks tf-controller | < 0.14.4; >= 0.15.0-rc.1, < 0.15.0-rc.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-34236. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-34236.md Affected: github.com/weaveworks/tf-controller < 0.14.4 Fixed in: 0.14.4, 0.15.0-rc.5 Steps: 1. Search this machine and project for github.com/weaveworks/tf-controller (Go), weaveworks tf-controller: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- 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
Exploits and PoCs
FAQ
Is CVE-2023-34236 being exploited?
There is no confirmed exploitation: CVE-2023-34236 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.00% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-34236?
High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2023-34236?
github.com/weaveworks/tf-controller < 0.14.4.
Is there a fix for CVE-2023-34236?
Yes. Fixed in 0.14.4, 0.15.0-rc.5. Upgrade github.com/weaveworks/tf-controller to one of 0.14.4, 0.15.0-rc.5 (or later in the same release line).
How do I check if I'm affected by CVE-2023-34236?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.