{"id":"CVE-2022-24878","published":"2022-05-06T01:35:08Z","modified":"2025-04-23T18:29:31Z","title":"Improper path handling in Kustomization files allows for denial of service","vendor":"fluxcd","product":"flux2","tier":"tail","description":{"text":"Flux is an open and extensible continuous delivery solution for Kubernetes. Path Traversal in the kustomize-controller via a malicious `kustomization.yaml` allows an attacker to cause a Denial of Service at the controller level. Workarounds include automated tooling in the user's CI/CD pipeline to validate `kustomization.yaml` files conform with specific policies. This vulnerability is fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0. Users are recommended to upgrade.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01018,"percentile":0.64163,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":12.83},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"fluxcd","affectedVersions":[{"vendor":"fluxcd","product":"flux2","versions":["flux2 < v0.28.5, >= v0.19.0","kustomize < v0.29.0, >= v0.16.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:07:37.538095Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","vulnerableRanges":[">=0.16.0, <0.24.0"],"patched":["0.24.0"],"from":["GHSA-7pwf-jg34-hxwp","GO-2022-0448"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/fluxcd/flux2","vulnerableRanges":[">=0.19.0, <0.29.0"],"patched":["0.29.0"],"from":["GHSA-7pwf-jg34-hxwp","GO-2022-0448"],"provenance":"source"}],"summary":{"text":"Flux2's kustomize-controller, a component of the Flux continuous delivery solution for Kubernetes, mishandles paths in Kustomization files, which allows path traversal. An attacker who can supply a malicious kustomization.yaml that the controller processes can cause a denial of service at the controller level, and the attack requires low privileges and no user interaction over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:06Z"},"euvd":{"id":"EUVD-2022-3043","exploited":false,"provenance":"source"}}