CVE-2023-23939 (CNNVD-202303-373)
中文标题:
Azure setup-kubectl 安全漏洞
英文标题:
Azure/setup-kubectl: Escalation of privilege vulnerability for v3 and lower
漏洞描述
中文描述:
setup-kubectl是在Azure云中安装kubectl的工具。 Azure setup-kubectl 3.0之前版本存在安全漏洞。攻击者利用该漏洞可以升级权限。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Azure | setup-kubectl | < 3 | - | - |
cpe:2.3:a:azure:setup-kubectl:<_3:*:*:*:*:*:*:*
|
| microsoft | azure_setup_kubectl | * | - | - |
cpe:2.3:a:microsoft:azure_setup_kubectl:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
LOWCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2023-23939 |
2025-11-11 15:21:50 | 2025-11-11 07:38:08 |
| NVD | nvd_CVE-2023-23939 |
2025-11-11 14:58:57 | 2025-11-11 07:46:17 |
| CNNVD | cnnvd_CNNVD-202303-373 |
2025-11-11 15:11:08 | 2025-11-11 07:57:52 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202303-373
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']