CVE-2022-36035
HIGH 7.8CVSS 3.1Flux CLI Workload Injection
Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy. Flux CLI allows users to deploy Flux components into a Kubernetes cluster via command-line. The vulnerability allows other applications to replace the Flux deployment information with arbitrary content which is deployed into the target Kubernetes cluster instead. The vulnerability is due to the improper handling of user-supplied input, which results in a path traversal that can be controlled by the attacker. Users sharing the same shell between other applications and the Flux CLI commands could be affected by this vulnerability. In some scenarios no errors may be presented, which may cause end users not to realize that something is amiss. A safe workaround is to execute Flux CLI in ephemeral and isolated shell environments, which can ensure no persistent values exist from previous processes. However, upgrading to the latest version of the CLI is still the recommended mitigation strategy.
- Published
- 31 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- BIT-flux-2022-36035GHSA-xwf3-6rgv-939rGO-2022-0960
- Sources
- NVDJSONOSV GHSA-xwf3-6rgv-939rJSONOSV GO-2022-0960JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fluxcd | flux2cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:* |
>= 0.21.0, < 0.32.0 | 0.32.0 |
| OSV | Go | github.com/fluxcd/flux2 | >= 0.21.0, < 0.32.0 | 0.32.0 |
References
- https://github.com/fluxcd/flux2/releases/tag/v0.32.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/fluxcd/flux2/security/advisories/GHSA-xwf3-6rgv-939r · Mitigation, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-36035 · ADVISORY
- https://github.com/fluxcd/flux2 · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 31 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Sep 2022)