Skip to content
OpenAdvisories
High · 7.7 CVE-2022-24878 BIT-flux-2022-24878BIT-kustomize-2022-24878EUVD-2022-3043GHSA-7pwf-jg34-hxwpGO-2022-0448

Improper path handling in Kustomization files allows for denial of service

Published May 6, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
fluxcd flux2 flux2 < v0.28.5, >= v0.19.0, kustomize < v0.29.0, >= v0.16.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/fluxcd/flux2 >= 0.19.0, < 0.29.0 0.29.0 GHSA-7pwf-jg34-hxwp
Go github.com/fluxcd/kustomize-controller >= 0.16.0, < 0.24.0 0.24.0 GHSA-7pwf-jg34-hxwp

References