Path Traversal in Fluxcd Flux2
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (22.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 22.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Fluxcd Flux2 — versions < 0.32.0, >= 0.21.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/fluxcd/flux2/security/advisories/GHSA-xwf3-6rgv-939r (Third Party Advisory, Mitigation)
- github.com/fluxcd/flux2/releases/tag/v0.32.0 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-36035?
- CVE-2022-36035 is a high-severity vulnerability in Fluxcd Flux2, classified under Path Traversal. CVSS score: 7.7/10. Published 2022-08-31.
- How severe is CVE-2022-36035?
- High severity. CVSS v3 base score is 7.7 out of 10.
- Is CVE-2022-36035 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.