CVE-2022-39272
Fluxcd Flux2 vulnerability
Flux is an open and extensible continuous delivery solution for Kubernetes. Versions prior to 0.35.0 are subject to a Denial of Service. Users that have permissions to change Flux’s objects, either through a Flux source or directly within a cluster, can provide invalid data to fields `.spec.interval` or `.spec.timeout` (and structured variations of these fields), causing the entire object type to stop being processed. This issue is patched in version 0.35.0. As a workaround, Admission controllers can be employed to restrict the values that can be used for fields `.spec.interval` and `.spec.timeout`, however upgrading to the latest versions is still the recommended mitigation.
Affected products
Flux2, Helm-controller, Image-automation-controller, Image-reflector-controller, Kustomize-controller, Notification-controller, Source-controller. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Fluxcd Flux2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/kubernetes/apimachinery/issues/131 · Patch
- github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-39272
- github.com/fluxcd/helm-controller/pull/533
- github.com/fluxcd/image-automation-controller/pull/439
- github.com/fluxcd/image-reflector-controller/pull/314
- github.com/fluxcd/kustomize-controller/pull/731
- github.com/fluxcd/notification-controller/pull/420
- nvd.nist.gov/vuln/detail/CVE-2022-39272
- cve.org/CVERecord?id=CVE-2022-39272
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.