Path Traversal in Fluxcd Flux2
CVE-2022-24877
Flux is an open and extensible continuous delivery solution for Kubernetes. Path Traversal in the kustomize-controller via a malicious `kustomization.yaml` allows an attacker to expose sensitive data from the controller’s pod filesystem and possibly privilege escalation in multi-tenancy deployments. Workarounds include automated tooling in the user's CI/CD pipeline to validate `kustomization.yaml` files conform with specific policies. This vulnerability is fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.012, 68.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Fluxcd Flux2 — versions flux2 < v0.29.0, kustomize-controller < v0.24.0
- Fluxcd Kustomize-Controller
Weakness classification (CWE)
References
- github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw (Vendor Advisory)