CVE-2022-24878Fluxcd Flux2
Medium 6.5
Follow: this CVE · Fluxcd · Fluxcd Flux2 We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- Yes
- Published
- May 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Flux2.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/fluxcd/flux2 |
≥ 0.19.0 < 0.29.0 |
0.29.0 |
go get github.com/fluxcd/flux2@v0.29.0 |
| Go | github.com/fluxcd/flux2 |
≥ 0.19.0 < 0.29.0 |
0.29.0 |
go get github.com/fluxcd/flux2@v0.29.0 |
| Go | github.com/fluxcd/kustomize-controller |
≥ 0.16.0 < 0.24.0 |
0.24.0 |
go get github.com/fluxcd/kustomize-controller@v0.24.0 |
| Go | github.com/fluxcd/kustomize-controller |
≥ 0.16.0 < 0.24.0 |
0.24.0 |
go get github.com/fluxcd/kustomize-controller@v0.24.0 |
Per OSV / GitHub Advisories (GHSA-7pwf-jg34-hxwp, GO-2022-0448). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fluxcd | flux2 | < 0.29.0 |
| fluxcd | kustomize-controller | < 0.24.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory