{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-39272","id":"CVE-2022-39272","title":"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 ","descriptionLong":"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.","published":"2022-10-21T00:00:00.000Z","updated":"2026-11-16T02:45:21.937817743Z","reserved":"2022-09-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["fluxcd flux2"],"affectedProducts":[{"vendor":"fluxcd","product":"flux2","defaultStatus":null,"versions":[{"version":"< 0.35.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","ranges":[">=0.1.0 <0.35.0"],"fixed":["0.35.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/source-controller","purl":"pkg:golang/github.com/fluxcd/source-controller","ranges":[">=0.0.1-alpha-1 <0.30.0"],"fixed":["0.30.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","ranges":[">=0.0.1-alpha-1 <0.29.0"],"fixed":["0.29.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/helm-controller","purl":"pkg:golang/github.com/fluxcd/helm-controller","ranges":[">=0.0.1-alpha-1 <0.24.0"],"fixed":["0.24.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/notification-controller","purl":"pkg:golang/github.com/fluxcd/notification-controller","ranges":[">=0.0.1-alpha-1 <0.27.0"],"fixed":["0.27.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/image-automation-controller","purl":"pkg:golang/github.com/fluxcd/image-automation-controller","ranges":[">=0.1.0 <0.26.0"],"fixed":["0.26.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/image-reflector-controller","purl":"pkg:golang/github.com/fluxcd/image-reflector-controller","ranges":[">=0.1.0 <0.22.0"],"fixed":["0.22.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/helm-controller/api","purl":"pkg:golang/github.com/fluxcd/helm-controller/api","ranges":["<0.26.0"],"fixed":["0.26.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/image-automation-controller/api","purl":"pkg:golang/github.com/fluxcd/image-automation-controller/api","ranges":["<0.26.1"],"fixed":["0.26.1"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/image-reflector-controller/api","purl":"pkg:golang/github.com/fluxcd/image-reflector-controller/api","ranges":["<0.22.1"],"fixed":["0.22.1"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/kustomize-controller/api","purl":"pkg:golang/github.com/fluxcd/kustomize-controller/api","ranges":["<0.30.0"],"fixed":["0.30.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/notification-controller/api","purl":"pkg:golang/github.com/fluxcd/notification-controller/api","ranges":["<0.28.0"],"fixed":["0.28.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","name":"github.com/fluxcd/source-controller/api","purl":"pkg:golang/github.com/fluxcd/source-controller/api","ranges":["<0.30.0"],"fixed":["0.30.0"],"advisory":"GHSA-f4p5-x4vc-mh4v"}],"cwes":["CWE-1284","CWE-20"],"aliases":["BIT-flux-2022-39272","BIT-kustomize-2022-39272","GHSA-f4p5-x4vc-mh4v","GO-2022-1071"],"references":[{"url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/kubernetes/apimachinery/issues/131","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39272.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39272","tags":["advisory"]},{"url":"https://github.com/fluxcd/helm-controller/pull/533","tags":["web","fix"]},{"url":"https://github.com/fluxcd/image-automation-controller/pull/439","tags":["web","fix"]},{"url":"https://github.com/fluxcd/image-reflector-controller/pull/314","tags":["web","fix"]},{"url":"https://github.com/fluxcd/kustomize-controller/pull/731","tags":["web","fix"]},{"url":"https://github.com/fluxcd/notification-controller/pull/420","tags":["web","fix"]},{"url":"https://github.com/fluxcd/source-controller/pull/903","tags":["web","fix"]},{"url":"https://github.com/fluxcd/flux2","tags":["package"]},{"url":"https://github.com/kubernetes/apimachinery#131","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1071","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f4p5-x4vc-mh4v","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00788,"epssPercentile":0.56969,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-39272","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39272","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-39272","ok":true,"note":"13 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f4p5-x4vc-mh4v","ok":true,"note":"GHSA-f4p5-x4vc-mh4v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-39272","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}