← Übersicht Flux

Privilege escalation to cluster admin on multi-tenant environments

CVE-2021-41254 · BIT-kustomize-2021-41254 · GHSA-35rf-v2jv-gfg7 · GO-2022-0260

Hoch · CVSS 8.8 Netzwerk · mit Login Fix verfügbar

Veröffentlicht
12.11.2021 18:45
Zuletzt geändert
10.09.2026
EPSS (30 Tage)
1.8 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

kustomize-controller is a Kubernetes operator, specialized in running continuous delivery pipelines for infrastructure and workloads defined with Kubernetes manifests and assembled with Kustomize. Users that can create Kubernetes Secrets, Service Accounts and Flux Kustomization objects, could execute commands inside the kustomize-controller container by embedding a shell script in a Kubernetes Secret. This can be used to run `kubectl` commands under the Service Account of kustomize-controller, thus allowing an authenticated Kubernetes user to gain cluster admin privileges. In affected versions multitenant environments where non-admin users have permissions to create Flux Kustomization objects are affected by this issue. This vulnerability was fixed in kustomize-controller v0.15.0 (included in flux2 v0.18.0) released on 2021-10-08. Starting with v0.15, the kustomize-controller no longer executes shell commands on the container OS and the `kubectl` binary has been removed from the container image. To prevent the creation of Kubernetes Service Accounts with `secrets` in namespaces owned by tenants, a Kubernetes validation webhook such as Gatekeeper OPA or Kyverno can be used.

Betroffene Pakete im beobachteten Stack

CVEfluxcd/kustomize-controllerkein Fix bekanntCVE-2021-41254
Gogithub.com/fluxcd/kustomize-controller0.15.0GHSA-35rf-v2jv-gfg7
Gogithub.com/fluxcd/kustomize-controller0.15.0GO-2022-0260
Weitere betroffene Pakete (2)
Bitnamikustomize0.15.0BIT-kustomize-2021-41254
NVDfluxcd:kustomize-controller0.15.0CVE-2021-41254

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.