CVE-2022-39272
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.0
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
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.
- Record
CVE-2022-39272- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L - Weakness
- CWE-1284
- Updated
- 2026-11-02
EUVDEUVD-2022-7087
5.0
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.
- Record
EUVD-2022-7087- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-f4p5-x4vc-mh4v
5.0
Improper use of metav1.Duration allows for Denial of Service
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; 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).
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
- Record
GHSA-f4p5-x4vc-mh4v- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L - Weakness
- CWE-20
- Updated
- 2026-11-02
NVD
5.0
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.
- Record
CVE-2022-39272- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L - CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-1284
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-39272
4.3
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.
- Record
ALPINE-CVE-2022-39272- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
OSV
5.0
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
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.
- Record
CVE-2022-39272- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L - Weakness
- CWE-1284
- Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-f4p5-x4vc-mh4v
5.0
Improper use of metav1.Duration allows for Denial of Service
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; 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).
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
- Record
GHSA-f4p5-x4vc-mh4v- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVBIT-flux-2022-39272 No score
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
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.
- Record
BIT-flux-2022-39272- Updated
- 2026-11-02
OSVBIT-kustomize-2022-39272 No score
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
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.
- Record
BIT-kustomize-2022-39272- Updated
- 2026-11-02
OSVGO-2022-1071 No score
Denial of service in flux controllers in github.com/fluxcd modules
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.
- Record
GO-2022-1071- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/fluxcd/flux2Go |
0.1.0 up to 0.35.0 | 0.35.0 |
github.com/fluxcd/source-controllerGo |
0.0.1-alpha-1 up to 0.30.0 | 0.30.0 |
github.com/fluxcd/kustomize-controllerGo |
0.0.1-alpha-1 up to 0.29.0 | 0.29.0 |
github.com/fluxcd/helm-controllerGo |
0.0.1-alpha-1 up to 0.24.0 | 0.24.0 |
github.com/fluxcd/notification-controllerGo |
0.0.1-alpha-1 up to 0.27.0 | 0.27.0 |
github.com/fluxcd/image-automation-controllerGo |
0.1.0 up to 0.26.0 | 0.26.0 |
github.com/fluxcd/image-reflector-controllerGo |
0.1.0 up to 0.22.0 | 0.22.0 |
github.com/fluxcd/helm-controller/apiGo |
before 0.26.0 | 0.26.0 |
github.com/fluxcd/image-automation-controller/apiGo |
before 0.26.1 | 0.26.1 |
github.com/fluxcd/image-reflector-controller/apiGo |
before 0.22.1 | 0.22.1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
github.com/fluxcd/kustomize-controller/apiGo |
before 0.30.0 | 0.30.0 |
github.com/fluxcd/notification-controller/apiGo |
before 0.28.0 | 0.28.0 |
github.com/fluxcd/source-controller/apiGo |
before 0.30.0 | 0.30.0 |
fluxAlpine:v3.21 |
before 0.36.0-r0 | 0.36.0-r0 |
fluxAlpine:v3.22 |
before 0.36.0-r0 | 0.36.0-r0 |
fluxAlpine:v3.23 |
before 0.36.0-r0 | 0.36.0-r0 |
fluxAlpine:v3.24 |
before 0.36.0-r0 | 0.36.0-r0 |
fluxBitnami |
0.1.0 up to 0.35.0 | 0.35.0 |
kustomizeBitnami |
0.0.2 up to 0.29.0 | 0.29.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-39272 is a medium vulnerability (CVSS 5.0) in Fluxcd Flux2, published October 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.79%, the 56th percentile. Fixed in github.com/fluxcd/flux2 0.35.0.
References
github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v
github.com/kubernetes/apimachinery/issues/131
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
Show 9 moreShow less
github.com/fluxcd/kustomize-controller/pull/731
github.com/fluxcd/notification-controller/pull/420
github.com/fluxcd/source-controller/pull/903
github.com/kubernetes/apimachinery
pkg.go.dev/vuln/GO-2022-1071
github.com/advisories/GHSA-f4p5-x4vc-mh4v
security.alpinelinux.org/vuln/CVE-2022-39272
github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39272.json
github.com/fluxcd/flux2