Medium severity · published Oct 21, 2022
CVE-2022-39272
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
4.3
CVSS
0.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FL
flux2 · fluxcd
< 0.35.0 · source: vendor, NVD
HE
Helm-controller · Fluxcd
0.0.2 before 0.24.0; 0.0.1; 0.0.1; 0.0.1; 0.0.1; 0.0.1; +1 more · source: NVD
IM
Image-automation-controller · Fluxcd
0.1.0 before 0.26.0 · source: NVD
IM
Image-reflector-controller · Fluxcd
0.1.0 before 0.22.0 · source: NVD
KU
Kustomize-controller · Fluxcd
0.0.2 before 0.29.0; 0.0.1; 0.0.1; 0.0.1; 0.0.1; 0.0.1; +6 more · source: NVD
NO
Notification-controller · Fluxcd
0.0.2 before 0.27.0; 0.0.1; 0.0.1; 0.0.1 · source: NVD
SO
Source-controller · Fluxcd
0.0.2 before 0.30.0; 0.0.1; 0.0.1; 0.0.1; 0.0.1; 0.0.1; +3 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-39272
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-39272
Third Party Advisory
https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v
Issue Tracking
https://github.com/kubernetes/apimachinery/issues/131
More from flux2
9.9
CVE-2022-24817
Flux2 is an open and extensible continuous delivery solution for Kubernetes
8.8
CVE-2022-24877
Flux is an open and extensible continuous delivery solution for Kubernetes
7.8
CVE-2022-36035
Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to…
7.5
CVE-2022-36049
Flux2 is a tool for keeping Kubernetes clusters in sync with sources of configuration, and Flux's helm-controller is a Kubernetes operator that allows one to declaratively manage…
6.5
CVE-2022-24878
Flux is an open and extensible continuous delivery solution for Kubernetes
