Shellfeed logo Shellfeed

CVE-2022-24877 · CRITICAL (CVSS 9.9)

Summary: Improper path handling in kustomization files allows path traversal

Details

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.

Severity

CRITICAL (CVSS 9.9) — vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

  • Go github.com/fluxcd/kustomize-controller [0 – 0.24.0]
  • Go github.com/fluxcd/flux2 [0 – 0.29.0]
  • GIT github.com/fluxcd/flux2 [0 – 5346c1cca31261453f1100b3516a77750e46bb17] [0 – 69a9e9d6bf4666eb02d2367210b29d0a66262580]

References