{"id":"CVE-2022-24878","aliases":["BIT-flux-2022-24878","BIT-kustomize-2022-24878","GHSA-7pwf-jg34-hxwp","GO-2022-0448"],"summary":"Improper path handling in Kustomization files allows for denial of service","published_at":"2022-05-06T01:35:08Z","modified_at":"2026-09-10T16:01:31.595321Z","products":[{"slug":"flux","name":"Flux","category":"kubernetes-container"}],"rating":{"severity":"high","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.010180000215768814,"percentile":0.641789972782135,"date":"2026-11-21T00:00:00Z"},"priority":8.7,"record_count":6,"vendors":["GitHub","Bitnami","Go"],"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"fluxcd/flux2","versions":["flux2 < v0.28.5, >= v0.19.0","kustomize < v0.29.0, >= v0.16.0"],"provider":"cvelistv5","source":"CVE-2022-24878","relation":"self"},{"ecosystem":"Go","package":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","ranges":[{"type":"SEMVER","events":[{"introduced":"0.19.0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"osv","source":"GHSA-7pwf-jg34-hxwp","relation":"self"},{"ecosystem":"Go","package":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","ranges":[{"type":"SEMVER","events":[{"introduced":"0.19.0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"osv","source":"GO-2022-0448","relation":"self"},{"ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","ranges":[{"type":"SEMVER","events":[{"introduced":"0.16.0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"osv","source":"GHSA-7pwf-jg34-hxwp","relation":"self"},{"ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","ranges":[{"type":"SEMVER","events":[{"introduced":"0.16.0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"osv","source":"GO-2022-0448","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"flux","purl":"pkg:bitnami/flux","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"osv","source":"BIT-flux-2022-24878","relation":"self"},{"ecosystem":"Bitnami","package":"kustomize","purl":"pkg:bitnami/kustomize","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"osv","source":"BIT-kustomize-2022-24878","relation":"self"},{"ecosystem":"NVD","package":"fluxcd:flux2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"nvd","source":"CVE-2022-24878","relation":"self"},{"ecosystem":"NVD","package":"fluxcd:kustomize-controller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"nvd","source":"CVE-2022-24878","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-24878","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-24878","license":"CC-BY-4.0","published_at":"2022-05-06T01:35:08Z","modified_at":"2025-04-23T18:29:31.214Z","summary":"Improper path handling in Kustomization files allows for denial of service","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","source":"CVE-2022-24878"}],"affected":[{"ecosystem":"CVE","package":"fluxcd/flux2","versions":["flux2 < v0.28.5, >= v0.19.0","kustomize < v0.29.0, >= v0.16.0"],"provider":"cvelistv5","source":"CVE-2022-24878","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp"}]},{"provider":"nvd","source_id":"CVE-2022-24878","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24878","severity":[],"affected":[{"ecosystem":"NVD","package":"fluxcd:flux2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"nvd","source":"CVE-2022-24878","relation":"self"},{"ecosystem":"NVD","package":"fluxcd:kustomize-controller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"nvd","source":"CVE-2022-24878","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-flux-2022-24878","relation":"self","url":"https://osv.dev/vulnerability/BIT-flux-2022-24878","license":"Apache-2.0","published_at":"2025-12-02T17:36:56.954Z","modified_at":"2026-09-10T16:01:31.595321Z","summary":"Improper path handling in Kustomization files allows for denial of service","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","source":"BIT-flux-2022-24878"}],"affected":[{"ecosystem":"Bitnami","package":"flux","purl":"pkg:bitnami/flux","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"osv","source":"BIT-flux-2022-24878","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24878"}]},{"provider":"osv","source_id":"BIT-kustomize-2022-24878","relation":"self","url":"https://osv.dev/vulnerability/BIT-kustomize-2022-24878","license":"Apache-2.0","published_at":"2024-03-06T10:55:18.461Z","modified_at":"2026-09-10T16:00:48.837807Z","summary":"Improper path handling in Kustomization files allows for denial of service","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","source":"BIT-kustomize-2022-24878"}],"affected":[{"ecosystem":"Bitnami","package":"kustomize","purl":"pkg:bitnami/kustomize","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"osv","source":"BIT-kustomize-2022-24878","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24878"}]},{"provider":"osv","source_id":"GHSA-7pwf-jg34-hxwp","relation":"self","url":"https://osv.dev/vulnerability/GHSA-7pwf-jg34-hxwp","license":"CC-BY-4.0","published_at":"2022-05-20T16:58:38Z","modified_at":"2025-12-02T18:27:27.99878Z","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).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","source":"GHSA-7pwf-jg34-hxwp"}],"affected":[{"ecosystem":"Go","package":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","ranges":[{"type":"SEMVER","events":[{"introduced":"0.19.0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"osv","source":"GHSA-7pwf-jg34-hxwp","relation":"self"},{"ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","ranges":[{"type":"SEMVER","events":[{"introduced":"0.16.0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"osv","source":"GHSA-7pwf-jg34-hxwp","relation":"self"}],"product_status":[],"references":[{"type":"WEB","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"}]},{"provider":"osv","source_id":"GO-2022-0448","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0448","license":"CC-BY-4.0","published_at":"2024-08-21T15:11:31Z","modified_at":"2026-03-03T04:50:20.90736Z","summary":"Improper path handling in Kustomization files allows for denial of service in github.com/fluxcd/flux2","details":"Improper path handling in Kustomization files allows for denial of service in github.com/fluxcd/flux2","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","ranges":[{"type":"SEMVER","events":[{"introduced":"0.19.0"},{"fixed":"0.29.0"}]}],"fixed":["0.29.0"],"provider":"osv","source":"GO-2022-0448","relation":"self"},{"ecosystem":"Go","package":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","ranges":[{"type":"SEMVER","events":[{"introduced":"0.16.0"},{"fixed":"0.24.0"}]}],"fixed":["0.24.0"],"provider":"osv","source":"GO-2022-0448","relation":"self"}],"product_status":[],"references":[{"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"}]}],"references":[{"type":"WEB","url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24878"},{"type":"PACKAGE","url":"https://github.com/fluxcd/flux2"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-24878","url":"https://www.cve.org/CVERecord?id=CVE-2022-24878","license":"CC-BY-4.0","modified_at":"2025-04-23T18:29:31.214Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-24878","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24878","relation":"self"},{"provider":"osv","source_id":"BIT-flux-2022-24878","url":"https://osv.dev/vulnerability/BIT-flux-2022-24878","license":"Apache-2.0","modified_at":"2026-09-10T16:01:31.595321Z","relation":"self"},{"provider":"osv","source_id":"BIT-kustomize-2022-24878","url":"https://osv.dev/vulnerability/BIT-kustomize-2022-24878","license":"Apache-2.0","modified_at":"2026-09-10T16:00:48.837807Z","relation":"self"},{"provider":"osv","source_id":"GHSA-7pwf-jg34-hxwp","url":"https://osv.dev/vulnerability/GHSA-7pwf-jg34-hxwp","license":"CC-BY-4.0","modified_at":"2025-12-02T18:27:27.99878Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0448","url":"https://osv.dev/vulnerability/GO-2022-0448","license":"CC-BY-4.0","modified_at":"2026-03-03T04:50:20.90736Z","relation":"self"}]}
