{"answers":{"affected":"34 open source packages ship an affected version, including github.com/fluxcd/flux2, flux and kustomize. It affects 7 products.","exploited":"There is no known exploitation of CVE-2022-39272 in the wild and no public exploit code.","fix":"Upgrade github.com/fluxcd/flux2 to 0.35.0 or later.","what":"CVE-2022-39272 is a medium-severity denial of service vulnerability in fluxcd flux2, published on 21 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-39272 and fix it if it is affected.\n\nWhat it is: CVE-2022-39272 is a medium-severity denial of service vulnerability in fluxcd flux2, published on 21 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-39272 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/fluxcd/flux2 (Go): affected from 0.1.0; fixed in 0.35.0\n- github.com/fluxcd/flux2 (Go): affected from 0.1.0; fixed in 0.35.0\n- flux (Bitnami): affected from 0.1.0; fixed in 0.35.0\n- kustomize (Bitnami): affected from 0.0.2; fixed in 0.29.0\n- github.com/fluxcd/helm-controller (Go): affected from 0.0.1-alpha-1; fixed in 0.24.0\n- github.com/fluxcd/helm-controller (Go): affected from 0.0.1-alpha-1; fixed in 0.24.0\n- github.com/fluxcd/helm-controller/api (Go): affected all versions; fixed in 0.26.0\n- github.com/fluxcd/helm-controller/api (Go): affected all versions; fixed in 0.26.0\n- github.com/fluxcd/helm-controller/api (Go): affected all versions; fixed in 0.26.0\n- github.com/fluxcd/image-automation-controller (Go): affected from 0.1.0; fixed in 0.26.0\n- github.com/fluxcd/image-automation-controller (Go): affected from 0.1.0; fixed in 0.26.0\n- github.com/fluxcd/image-automation-controller/api (Go): affected all versions; fixed in 0.26.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-39272/ (Markdown: https://insights.sbomify.com/CVE-2022-39272/index.md)","id":"CVE-2022-39272","markdown":"https://insights.sbomify.com/CVE-2022-39272/index.md","name":"CVE-2022-39272","record":{"aliases":["BIT-flux-2022-39272","BIT-kustomize-2022-39272","GHSA-f4p5-x4vc-mh4v","GO-2022-1071"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes continuous delivery","requires_auth":"low_privilege","summary":"Attackers with object modification permissions can cause denial of service in Flux by providing invalid duration values, requiring an upgrade to fix.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"flux2","vendor":"fluxcd"},{"product":"helm-controller","vendor":"fluxcd"},{"product":"image-automation-controller","vendor":"fluxcd"},{"product":"image-reflector-controller","vendor":"fluxcd"},{"product":"kustomize-controller","vendor":"fluxcd"},{"product":"notification-controller","vendor":"fluxcd"},{"product":"source-controller","vendor":"fluxcd"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration","id":"CVE-2022-39272","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":34,"n_references":2,"next":{"headline":"Default OAuth Authorization Server secret in FlyteAdmin","id":"CVE-2022-39273"},"packages":[{"ecosystem":"Bitnami","fixed":["0.35.0"],"introduced":["0.1.0"],"last_affected":[],"package":"flux","purl":"pkg:bitnami/flux","source":"BIT-flux-2022-39272"},{"ecosystem":"Bitnami","fixed":["0.29.0"],"introduced":["0.0.2"],"last_affected":[],"package":"kustomize","purl":"pkg:bitnami/kustomize","source":"BIT-kustomize-2022-39272"},{"ecosystem":"Go","fixed":["0.35.0"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/fluxcd/flux2","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.35.0"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.24.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/helm-controller","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.24.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/helm-controller","purl":"pkg:golang/github.com/fluxcd/helm-controller","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.26.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/helm-controller/api","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.26.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/helm-controller/api","purl":"pkg:golang/github.com/fluxcd/helm-controller/api","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.26.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/helm-controller/api","purl":"pkg:golang/github.com/fluxcd/helm-controller/api","source":"GO-2022-1071"},{"ecosystem":"Go","fixed":["0.26.0"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/fluxcd/image-automation-controller","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.26.0"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/fluxcd/image-automation-controller","purl":"pkg:golang/github.com/fluxcd/image-automation-controller","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.26.1"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/image-automation-controller/api","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.26.1"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/image-automation-controller/api","purl":"pkg:golang/github.com/fluxcd/image-automation-controller/api","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.26.1"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/image-automation-controller/api","purl":"pkg:golang/github.com/fluxcd/image-automation-controller/api","source":"GO-2022-1071"},{"ecosystem":"Go","fixed":["0.22.0"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/fluxcd/image-reflector-controller","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.22.0"],"introduced":["0.1.0"],"last_affected":[],"package":"github.com/fluxcd/image-reflector-controller","purl":"pkg:golang/github.com/fluxcd/image-reflector-controller","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.22.1"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/image-reflector-controller/api","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.22.1"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/image-reflector-controller/api","purl":"pkg:golang/github.com/fluxcd/image-reflector-controller/api","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.22.1"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/image-reflector-controller/api","purl":"pkg:golang/github.com/fluxcd/image-reflector-controller/api","source":"GO-2022-1071"},{"ecosystem":"Go","fixed":["0.29.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/kustomize-controller","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.29.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/kustomize-controller/api","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/kustomize-controller/api","purl":"pkg:golang/github.com/fluxcd/kustomize-controller/api","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/kustomize-controller/api","purl":"pkg:golang/github.com/fluxcd/kustomize-controller/api","source":"GO-2022-1071"},{"ecosystem":"Go","fixed":["0.27.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/notification-controller","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.27.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/notification-controller","purl":"pkg:golang/github.com/fluxcd/notification-controller","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/notification-controller/api","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/notification-controller/api","purl":"pkg:golang/github.com/fluxcd/notification-controller/api","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/notification-controller/api","purl":"pkg:golang/github.com/fluxcd/notification-controller/api","source":"GO-2022-1071"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/source-controller","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0.0.1-alpha-1"],"last_affected":[],"package":"github.com/fluxcd/source-controller","purl":"pkg:golang/github.com/fluxcd/source-controller","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/source-controller/api","purl":null,"source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/source-controller/api","purl":"pkg:golang/github.com/fluxcd/source-controller/api","source":"GHSA-f4p5-x4vc-mh4v"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/fluxcd/source-controller/api","purl":"pkg:golang/github.com/fluxcd/source-controller/api","source":"GO-2022-1071"}],"prev":{"headline":"Traefik HTTP/2 connections management could cause a denial of service","id":"CVE-2022-39271"},"products":["flux2"],"published":"2022-10-21","related":[{"cvss_score":9.9,"headline":"Improper kubeconfig validation allows arbitrary code execution","id":"CVE-2022-24817","kev_date_added":null,"published":"2022-05-06"},{"cvss_score":9.9,"headline":"Improper path handling in kustomization files allows path traversal","id":"CVE-2022-24877","kev_date_added":null,"published":"2022-05-06"},{"cvss_score":7.7,"headline":"Flux2 Helm Controller denial of service","id":"CVE-2022-36049","kev_date_added":null,"published":"2022-09-07"},{"cvss_score":7.7,"headline":"Flux CLI Workload Injection","id":"CVE-2022-36035","kev_date_added":null,"published":"2022-08-31"},{"cvss_score":7.7,"headline":"Improper path handling in Kustomization files allows for denial of service","id":"CVE-2022-24878","kev_date_added":null,"published":"2022-05-06"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["fluxcd"]},"summary":"Attackers with object modification permissions can cause denial of service in Flux by providing invalid duration values, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2022-39272/"}