What’s Vulnerable › Vulnerabilities

CVE-2022-39272: Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration

Description

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

How to fix

Upgrade to a fixed version: fluxcd flux2 0.35.0; fluxcd Helm-Controller 0.24.0; fluxcd Image-Automation-Controller 0.26.0; fluxcd Image-Reflector-Controller 0.22.0; fluxcd kustomize-controller 0.29.0; fluxcd notification-controller 0.27.0; fluxcd source-controller 0.30.0. Check the vendor advisory for mitigations.

References

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