← Übersicht Flux

Improper kubeconfig validation allows arbitrary code execution

CVE-2022-24817 · BIT-flux-2022-24817 · BIT-kustomize-2022-24817 · GHSA-vvmq-fwmg-2gjc

Kritisch · CVSS 9.9 Netzwerk · mit Login Fix verfügbar

Veröffentlicht
06.05.2022 02:00
Zuletzt geändert
08.09.2026
EPSS (30 Tage)
1.1 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

Flux2 is an open and extensible continuous delivery solution for Kubernetes. Flux2 versions between 0.1.0 and 0.29.0, helm-controller 0.1.0 to v0.19.0, and kustomize-controller 0.1.0 to v0.23.0 are vulnerable to Code Injection via malicious Kubeconfig. In multi-tenancy deployments this can also lead to privilege escalation if the controller's service account has elevated permissions. Workarounds include disabling functionality via Validating Admission webhooks by restricting users from setting the `spec.kubeConfig` field in Flux `Kustomization` and `HelmRelease` objects. Additional mitigations include applying restrictive AppArmor and SELinux profiles on the controller’s pod to limit what binaries can be executed. This vulnerability is fixed in kustomize-controller v0.23.0 and helm-controller v0.19.0, both included in flux2 v0.29.0

Betroffene Pakete im beobachteten Stack

CVEfluxcd/flux2kein Fix bekanntCVE-2022-24817
Gogithub.com/fluxcd/flux20.1.0 → 0.29.0GHSA-vvmq-fwmg-2gjc
Gogithub.com/fluxcd/helm-controller0.2.0 → 0.19.0GHSA-vvmq-fwmg-2gjc
Gogithub.com/fluxcd/kustomize-controller0.1.0 → 0.23.0GHSA-vvmq-fwmg-2gjc
Weitere betroffene Pakete (5)
Bitnamiflux0.1.0 → 0.29.0BIT-flux-2022-24817
Bitnamikustomize0.1.0 → 0.23.0BIT-kustomize-2022-24817
NVDfluxcd:flux20.1.0 → 0.29.0CVE-2022-24817
NVDfluxcd:helm-controller0.2.0 → 0.19.0CVE-2022-24817
NVDfluxcd:kustomize-controller0.1.0 → 0.23.0CVE-2022-24817

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.