CVE-2022-39272
mediumpriority · track · 17EPSS 0.008 · 55 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (27)
Products and version ranges known to be affected.
- fluxcd image-automation-controller0.1.0 → 0.26.0nvdUScpe:2.3:a:fluxcd:image-automation-controller:*:*:*:*:*:*:*:*
- fluxcd image-reflector-controller0.1.0 → 0.22.0nvdUScpe:2.3:a:fluxcd:image-reflector-controller:*:*:*:*:*:*:*:*
- fluxcd notification-controller0.0.2 → 0.27.0nvdUScpe:2.3:a:fluxcd:notification-controller:*:*:*:*:*:*:*:*
- Go github.com/fluxcd/helm-controller0.0.1-alpha-1 → 0.24.0osvUSpkg:golang/github.com/fluxcd/helm-controller
- Go github.com/fluxcd/helm-controller/api< 0.26.0osvUSpkg:golang/github.com/fluxcd/helm-controller/api
- Go github.com/fluxcd/image-automation-controller0.1.0 → 0.26.0osvUSpkg:golang/github.com/fluxcd/image-automation-controller
- Go github.com/fluxcd/image-automation-controller/api< 0.26.1osvUSpkg:golang/github.com/fluxcd/image-automation-controller/api
- Go github.com/fluxcd/image-reflector-controller0.1.0 → 0.22.0osvUSpkg:golang/github.com/fluxcd/image-reflector-controller
advisories (4)
Vendor and ecosystem advisories describing this.
- GHSA-f4p5-x4vc-mh4vImproper use of metav1.Duration allows for Denial of Service2022-10-19ghsa · osvUS
Flux controllers within the affected versions range are vulnerable to a denial of service attack. 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. The issue has two root causes: a) the Kubernetes type `metav1.Duration` not being fully compatible with the Go type `time.Duration` as explained on [upstream report](https://github.com/kubernetes/apimachinery/issues/131); b) lack of validation within Flux to restrict allowed values. ### Workarounds 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. ### Credits This issue was reported by Alexander Block (@codablock) through the Flux security mailing list (as [recommended](https://fluxcd.io/security/#report-a-vulnerability)). ### For more information If you have any questions or comments about this advisory: - Open an issue in any of the affected repositories. - Contact us at the CNCF Flux channel. ### References - https://github.com/kubernetes/apimachinery/issues/131
- BIT-flux-2022-39272Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration2025-12-02vendor · osvUS
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.
- BIT-kustomize-2022-39272Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration2024-03-06vendor · osvUS
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.
- GO-2022-1071Denial of service in flux controllers in github.com/fluxcd modules2022-10-28vendor · osvUS
Flux controllers are vulnerable to a denial of service attack. 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. The issue has two root causes: a) the Kubernetes type metav1.Duration is not fully compatible with the Go type time.Duration as explained in https://github.com/kubernetes/apimachinery/issues/131, and b) a lack of validation within Flux to restrict allowed values.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202210-1612cnnvd
- EUVD-2022-7087enisa_euvd
- GHSA-f4p5-x4vc-mh4venisa_euvd
- BIT-flux-2022-39272osv
- BIT-kustomize-2022-39272osv
- GHSA-f4p5-x4vc-mh4vosv
- GO-2022-1071osv
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-39272/cnnvd
- https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4vcnnvd
- https://github.com/kubernetes/apimachinery/issues/131cnnvd
- https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4venisa_euvd
- https://github.com/kubernetes/apimachinery/issues/131enisa_euvd
- https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4vThird Party Advisorynvd
- https://github.com/kubernetes/apimachinery/issues/131Issue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan