Shellfeed logo Shellfeed

CVE-2022-24878 · HIGH (CVSS 7.7)

Summary: Improper path handling in Kustomization files allows for denial of service

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 cause a Denial of Service at the controller level. 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. Users are recommended to upgrade.

Severity

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

Affected packages

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

References