What’s Vulnerable › Vulnerabilities

CVE-2022-24878: Improper path handling in Kustomization files allows for denial of service

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

How to fix

Upgrade to a fixed version: fluxcd flux2 0.29.0; fluxcd kustomize-controller 0.24.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-24878 or the next vulnerability affects your stack