CVE-2022-24878 json
Improper path handling in Kustomization files allows for denial of service
published 2022-05-06 4 y ago modified 2026-09-10 59 d ago also BIT-flux-2022-24878 , BIT-kustomize-2022-24878 , EUVD-2022-3043 , GHSA-7pwf-jg34-hxwp , GO-2022-0448
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/fluxcd/kustomize-controller 0.24.0
- go github.com/fluxcd/flux2 0.29.0
- bitnami flux 0.29.0
- bitnami kustomize 0.24.0
- fluxcd flux2 0.29.0
- fluxcd kustomize-controller 0.24.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| OSV | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/fluxcd/kustomize-controller | >=0.16.0, <0.24.0 |
0.24.0 |
| go | github.com/fluxcd/flux2 | >=0.19.0, <0.29.0 |
0.29.0 |
| bitnami | flux | <0.29.0 |
0.29.0 |
| bitnami | kustomize | <0.24.0 |
0.24.0 |
Affected products
- fluxcd flux2
Classification
References
-
github.com
/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24878
advisory, web
-
github.com
/fluxcd/flux2
package
Sources
- CVE List CVE-2022-24878
- GitHub Advisory GHSA-7pwf-jg34-hxwp
- NVD CVE-2022-24878
- OSV BIT-flux-2022-24878
- OSV BIT-kustomize-2022-24878
- OSV GO-2022-0448
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.