{"id":"CVE-2022-39272","published":"2022-10-21T00:00:00Z","modified":"2025-04-23T16:45:22Z","title":"Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration","vendor":"fluxcd","product":"flux2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00788,"percentile":0.57101,"provenance":"source"},"cwes":[{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"references":[{"url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v","tags":[]},{"url":"https://github.com/kubernetes/apimachinery/issues/131","tags":[]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":11.42},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"fluxcd","affectedVersions":[{"vendor":"fluxcd","product":"flux2","versions":["< 0.35.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:56:09.377247Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/fluxcd/flux2","vulnerableRanges":[">=0.1.0, <0.35.0"],"patched":["0.35.0"],"from":["GHSA-f4p5-x4vc-mh4v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/source-controller","vulnerableRanges":[">=0.0.1-alpha-1, <0.30.0"],"patched":["0.30.0"],"from":["GHSA-f4p5-x4vc-mh4v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","vulnerableRanges":[">=0.0.1-alpha-1, <0.29.0"],"patched":["0.29.0"],"from":["GHSA-f4p5-x4vc-mh4v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/helm-controller","vulnerableRanges":[">=0.0.1-alpha-1, <0.24.0"],"patched":["0.24.0"],"from":["GHSA-f4p5-x4vc-mh4v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/notification-controller","vulnerableRanges":[">=0.0.1-alpha-1, <0.27.0"],"patched":["0.27.0"],"from":["GHSA-f4p5-x4vc-mh4v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/image-automation-controller","vulnerableRanges":[">=0.1.0, <0.26.0"],"patched":["0.26.0"],"from":["GHSA-f4p5-x4vc-mh4v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/image-reflector-controller","vulnerableRanges":[">=0.1.0, <0.22.0"],"patched":["0.22.0"],"from":["GHSA-f4p5-x4vc-mh4v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/helm-controller/api","vulnerableRanges":["<0.26.0"],"patched":["0.26.0"],"from":["GHSA-f4p5-x4vc-mh4v","GO-2022-1071"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/image-automation-controller/api","vulnerableRanges":["<0.26.1"],"patched":["0.26.1"],"from":["GHSA-f4p5-x4vc-mh4v","GO-2022-1071"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/image-reflector-controller/api","vulnerableRanges":["<0.22.1"],"patched":["0.22.1"],"from":["GHSA-f4p5-x4vc-mh4v","GO-2022-1071"],"provenance":"source"}],"summary":{"text":"Flux2 (the fluxcd continuous delivery solution for Kubernetes) contains a flaw in how it handles the metav1.Duration values in the .spec.interval and .spec.timeout fields, which are improperly validated in versions prior to 0.35.0. An attacker holding low-privileged permissions to modify Flux objects, whether through a Flux source or directly within a cluster, can submit invalid values to these fields without user interaction, causing that object type to stop being processed and resulting in a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:54Z"},"euvd":{"id":"EUVD-2022-7087","exploited":false,"provenance":"source"}}