CVE-2023-23939:
Azure/setup-kubectl: Escalation of privilege vulnerability for v3 and lower
3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53194%
CWE
Published
3/7/2023
Updated
3/7/2023
KEV Status
No
Technology
GitHub Actions
Technical Details
CVSS Vector
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
Azure/setup-kubectl | actions | < 3 | 3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems directly from the fs.chmodSync
call with 777 permissions in the downloadKubectl
function. The commit diff shows this was changed to 775 in the patch, and all vulnerability descriptions explicitly reference this insecure permission assignment as the root cause. The function's role in setting executable permissions makes it the clear vulnerable component.