{"id":"CVE-2022-24878","aliases":["BIT-flux-2022-24878","BIT-kustomize-2022-24878","GHSA-7pwf-jg34-hxwp","GO-2022-0448"],"url":"https://o3.security/vulnerability/CVE-2022-24878","summary":"Improper path handling in Kustomization files allows for denial of service","details":"The kustomize-controller enables the use of Kustomize’s functionality when applying Kubernetes declarative state onto a cluster. A malicious user can use a specially crafted `kustomization.yaml` to cause Denial of Service at controller level.\n\nIn multi-tenancy deployments this can lead to multiple tenants not being able to apply their Kustomizations until the malicious `kustomization.yaml` is removed and the controller restarted.\n\n### Impact\n\nWithin the affected versions, users with write access to a Flux source are able to craft a malicious `kustomization.yaml` file which causes the controller to enter an endless loop.\n\n### Patches\n\nThis vulnerability was fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0 released on 2022-04-20. The changes introduce better handling of Kustomization files blocking references that could lead to endless loops.\n\n### Credits\n\nThe Flux engineering team found and patched this vulnerability.\n\n### For more information\n\nIf you have any questions or comments about this advisory please open an issue in the [flux2 repository](http://github.com/fluxcd/flux2).","published":"2022-05-06T01:35:08Z","modified":"2026-08-12T03:51:21.296307806Z","cvss":{"score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/fluxcd/kustomize-controller","fixedVersion":"0.24.0"},{"ecosystem":"Go","name":"github.com/fluxcd/flux2","fixedVersion":"0.29.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24878.json"},{"type":"ADVISORY","url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24878"},{"type":"PACKAGE","url":"https://github.com/fluxcd/flux2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:21.296307806Z"}}