{"id":"CVE-2022-24878","aliases":["BIT-flux-2022-24878","BIT-kustomize-2022-24878","EUVD-2022-3043","GHSA-7pwf-jg34-hxwp","GO-2022-0448"],"status":"published","title":"Improper path handling in Kustomization files allows for denial of service","description":"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.","severity":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01018,"percentile":0.63761,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22","CWE-674"],"published":"2022-05-06T01:35:08Z","modified":"2026-11-09T10:45:23Z","fixes":[{"ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","fixed_in":["0.24.0"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/fluxcd/flux2","fixed_in":["0.29.0"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"flux","fixed_in":["0.29.0"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"kustomize","fixed_in":["0.24.0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.16.0"},{"fixed":"0.24.0"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/fluxcd/flux2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.19.0"},{"fixed":"0.29.0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"flux","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.29.0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"kustomize","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","ranges":[{"type":"SEMVER","events":[{"introduced":"0.16.0"},{"fixed":"0.24.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/fluxcd/flux2","ranges":[{"type":"SEMVER","events":[{"introduced":"0.19.0"},{"fixed":"0.29.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/fluxcd/flux2","ranges":[{"type":"SEMVER","events":[{"introduced":"0.19.0"},{"fixed":"0.29.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","ranges":[{"type":"SEMVER","events":[{"introduced":"0.16.0"},{"fixed":"0.24.0"}]}]}],"products":[{"vendor":"fluxcd","product":"flux2"},{"vendor":"fluxcd","product":"kustomize-controller"}],"references":[{"url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24878","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-7pwf-jg34-hxwp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24878.json","tags":["advisory"]},{"url":"https://github.com/fluxcd/flux2","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-24878","title":"Improper path handling in Kustomization files allows for denial of service","description":"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.","status":"published","published":"2022-05-06T01:35:08Z","modified":"2025-04-23T18:29:31.214Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:34.576287Z"}],"euvd":[{"id":"EUVD-2022-3043","description":"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.","status":"published","published":"2022-05-06T01:35:08Z","modified":"2025-04-23T18:29:31Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:08.401317Z"}],"ghsa":[{"id":"GHSA-7pwf-jg34-hxwp","title":"Improper path handling in Kustomization files allows for denial of service","description":"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).","status":"published","published":"2022-05-20T16:58:38Z","modified":"2023-01-27T05:01:57Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2022-24878","description":"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.","status":"published","published":"2022-05-06T02:15:07.07Z","modified":"2026-06-17T04:32:42.897Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:19.51203Z"}],"osv":[{"id":"CVE-2022-24878","title":"Improper path handling in Kustomization files allows for denial of service","description":"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.","status":"published","published":"2022-05-06T01:35:08Z","modified":"2026-11-09T10:45:23.640690054Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-09T10:53:57.550641Z"},{"id":"GHSA-7pwf-jg34-hxwp","title":"Improper path handling in Kustomization files allows for denial of service","description":"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).","status":"published","published":"2022-05-20T16:58:38Z","modified":"2025-12-02T18:27:27.99878Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T15:46:41.349637Z"},{"id":"BIT-flux-2022-24878","title":"Improper path handling in Kustomization files allows for denial of service","description":"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.","status":"published","published":"2025-12-02T17:36:56.954Z","modified":"2026-09-10T16:01:31.595321421Z","updated_at":"2026-11-02T15:28:29.999658Z"},{"id":"BIT-kustomize-2022-24878","title":"Improper path handling in Kustomization files allows for denial of service","description":"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.","status":"published","published":"2024-03-06T10:55:18.461Z","modified":"2026-09-10T16:00:48.837807524Z","updated_at":"2026-11-02T15:28:32.162822Z"},{"id":"GO-2022-0448","title":"Improper path handling in Kustomization files allows for denial of service in github.com/fluxcd/flux2","description":"Improper path handling in Kustomization files allows for denial of service in github.com/fluxcd/flux2","status":"published","published":"2024-08-21T15:11:31Z","modified":"2026-03-03T04:50:20.90736Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
