CVE-2021-41254Fluxcd Kustomize-controller
Alta 8.8
Seguir: esta CVE · Fluxcd · Fluxcd Kustomize-controller Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.8% probabilidad de explotación en 30 días · percentil 79
- Requiere autenticación
- Sí
- Publicada
- 12 nov 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Kustomize-controller.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/fluxcd/kustomize-controller |
< 0.15.0 |
0.15.0 |
go get github.com/fluxcd/kustomize-controller@v0.15.0 |
| Go | github.com/fluxcd/kustomize-controller |
< 0.15.0 |
0.15.0 |
go get github.com/fluxcd/kustomize-controller@v0.15.0 |
Según OSV / GitHub Advisories (GHSA-35rf-v2jv-gfg7, GO-2022-0260). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| fluxcd | kustomize-controller | < 0.15.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Mitigation Third Party Advisory