High severity · published Aug 31, 2022
CVE-2022-36035
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…
7.8
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FL
Flux2 · Fluxcd
0.21.0 before 0.32.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-36035
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-36035
Release Notes
https://github.com/fluxcd/flux2/releases/tag/v0.32.0
Mitigation
https://github.com/fluxcd/flux2/security/advisories/GHSA-xwf3-6rgv-939r
More from Flux2
9.9
CVE-2022-24817
Flux2 is an open and extensible continuous delivery solution for Kubernetes
8.8
CVE-2022-24877
Flux is an open and extensible continuous delivery solution for Kubernetes
7.5
CVE-2022-36049
Flux2 is a tool for keeping Kubernetes clusters in sync with sources of configuration, and Flux's helm-controller is a Kubernetes operator that allows one to declaratively manage…
6.5
CVE-2022-24878
Flux is an open and extensible continuous delivery solution for Kubernetes
4.3
CVE-2022-39272
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
