Improper path handling in Kustomization files allows for denial of service
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fluxcd | flux2 | flux2 < v0.28.5, >= v0.19.0; kustomize < v0.29.0, >= v0.16.0 | — | No fix listed | CNA |
| — | github.com/fluxcd/kustomize-controller (Go) | 0.16.0 to before 0.24.0 | 0.24.0 | Patch available | GHSA-7pwf-jg34-hxwp |
| — | github.com/fluxcd/flux2 (Go) | 0.19.0 to before 0.29.0 | 0.29.0 | Patch available | GHSA-7pwf-jg34-hxwp |
- flux2 Vendorfluxcd Affected flux2 < v0.28.5, >= v0.19.0; kustomize < v0.29.0, >= v0.16.0 Fixed in — No fix listed CNA
- github.com/fluxcd/kustomize-controller (Go) Vendor— Affected 0.16.0 to before 0.24.0 Fixed in 0.24.0 Patch available GHSA-7pwf-jg34-hxwp
- github.com/fluxcd/flux2 (Go) Vendor— Affected 0.19.0 to before 0.29.0 Fixed in 0.29.0 Patch available GHSA-7pwf-jg34-hxwp
Remediation
- Fix · GHSA-7pwf-jg34-hxwp github.com/fluxcd/kustomize-controller (Go) Fixed in 0.24.0 Advisory →
- Fix · GHSA-7pwf-jg34-hxwp github.com/fluxcd/flux2 (Go) Fixed in 0.29.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24878
- 2026-10-03 Alias added: GHSA-7pwf-jg34-hxwp
References
More fluxcd Flux2 vulnerabilities
- TI-2022-08687 Improper path handling in kustomization files allows path traversal CVSS 3.1CRITICAL 9.9
- TI-2022-08630 Improper kubeconfig validation allows arbitrary code execution CVSS 3.1CRITICAL 9.9
- TI-2022-16473 Flux2 Helm Controller denial of service CVSS 3.1HIGH 7.7
- TI-2022-16460 Flux CLI Workload Injection CVSS 3.1HIGH 7.8
- TI-2022-18648 Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration CVSS 3.1MEDIUM 5.0
Sources
- CVE-2022-24878 · CVE Program
- CVE-2022-24878 · NVD
- FIRST EPSS
- GHSA-7pwf-jg34-hxwp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences