Início
Tendências
Vulnerabilidades
Notícias
Pesquisadores
Por que dbugs?

Olivermking

#52553de 53,632
3.9CVSS total
Vulnerabilidades · 1
PT-2023-19310
3.9
2023-03-06
Microsoft · Azure/Setup-Kubectl · CVE-2023-23939
**Name of the Vulnerable Software and Affected Versions** Azure/setup-kubectl versions prior to 3 **Description** The issue arises from an insecure temporary creation of a file, allowing 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, allowing any local user to replace the Kubectl binary. This enables privilege escalation to the user that can also run kubectl, most likely root. The attack is only possible if an attacker breaches the GitHub actions runner or if a user utilizes an Action that maliciously executes this attack. No impacted customers have been reported. **Recommendations** For versions prior to 3, upgrade to version 3 or later, which uses 775 permissions instead. If users cannot upgrade to version 3 or higher, they should be extra diligent about the other GitHub actions they are using in a workflow and ensure that their GitHub actions runner is secure.