Live threats

All CVEs / Fluxcd

CVE-2022-24878Fluxcd Flux2

Medium 6.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flux2.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
fluxcdflux2< 0.29.0
fluxcdkustomize-controller< 0.24.0

Official sources

References

Links published by the sources. Open them with care.