Vulnerability
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.
6 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-897c-qjrr-87rv
- CGA-hj98-rxjc-288x
- CGA-hq82-qhxh-4vm3
- CGA-m8cr-r4pf-3m3g
-
GHSA-j77r-2fxf-5jrw
Improper path handling in kustomization files allows path traversal
-
GO-2022-0447
Improper path handling in kustomization files allows path traversal in github.com/fluxcd/flux2