Skip to main content
← All vulnerabilities
CVE-2022-24877GO-2022-0447BIT-FLUX-2022-24877BIT-KUSTOMIZE-2022-24877GHSA-J77R-2FXF-5JRW

Improper path handling in kustomization files allows path traversal

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.29.0, 0.24.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • fluxcd flux2

    flux2 < v0.29.0, kustomize-controller < v0.24.0

  • github.com/fluxcd/flux2Go

    fixed in 0.29.0

  • github.com/fluxcd/kustomize-controllerGo

    fixed in 0.24.0

References 1

GitHub · fluxcd/flux2