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 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.
References
Link Resource
https://github.com/fluxcd/flux2/releases/tag/v0.32.0 Release Notes Third Party Advisory
https://github.com/fluxcd/flux2/security/advisories/GHSA-xwf3-6rgv-939r Mitigation Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*

History

08 Sep 2022, 03:28

Type Values Removed Values Added
First Time Fluxcd flux2
Fluxcd
CPE cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References (MISC) https://github.com/fluxcd/flux2/releases/tag/v0.32.0 - (MISC) https://github.com/fluxcd/flux2/releases/tag/v0.32.0 - Release Notes, Third Party Advisory
References (CONFIRM) https://github.com/fluxcd/flux2/security/advisories/GHSA-xwf3-6rgv-939r - (CONFIRM) https://github.com/fluxcd/flux2/security/advisories/GHSA-xwf3-6rgv-939r - Mitigation, Third Party Advisory

31 Aug 2022, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-31 15:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-36035

Mitre link : CVE-2022-36035

CVE.ORG link : CVE-2022-36035


JSON object : View

Products Affected

fluxcd

  • flux2
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')