CVE-2023-23939Microsoft Azure Setup Kubectl
Alta 7.0
Seguir: esta CVE · Microsoft · Microsoft Azure Setup Kubectl Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 42
- CVSS 3.1
- 7.0
- EPSS
- 0.5% probabilidad de explotación en 30 días · percentil 33
- Requiere autenticación
- Sí
- Publicada
- 6 mar 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Windows
- Debilidad (CWE)
- CWE-732
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Qué pasa
Azure/setup-kubectl is a GitHub Action for installing Kubectl. This vulnerability only impacts versions before version 3. An insecure temporary creation of a file allows other actors on the Actions runner to replace the Kubectl binary created by this action because it is world writable. This Kubectl tool installer runs `fs.chmodSync(kubectlPath, 777)` to set permissions on the Kubectl binary, however, this allows any local user to replace the Kubectl binary. This allows privilege escalation to the user that can also run kubectl, most likely root. This attack is only possible if an attacker somehow breached the GitHub actions runner or if a user is utilizing an Action that maliciously executes this attack. This has been fixed and released in all versions `v3` and later. 775 permissions are used instead. Users are advised to upgrade. There are no known workarounds for this issue.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Azure Setup Kubectl.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| GitHub Actions | Azure/setup-kubectl |
< 3 |
3 |
— |
Según OSV / GitHub Advisories (GHSA-p756-rfxh-x63h). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| microsoft | azure_setup_kubectl | < 3.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Vendor Advisory