CVE-2023-23939 (CNNVD-202303-373)

LOW
中文标题:
Azure setup-kubectl 安全漏洞
英文标题:
Azure/setup-kubectl: Escalation of privilege vulnerability for v3 and lower
CVSS分数: 3.9
发布时间: 2023-03-06 18:19:05
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

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类型:
CWE-732
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 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:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/Azure/setup-kubectl/security/advisories/GHSA-p756-rfxh-x63h x_refsource_CONFIRM
cve.org
访问
https://github.com/Azure/setup-kubectl/commit/d449d75495d2b9d1463555bb00ca3dca77a42ab6 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
LOW
3.9
CVSS向量: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
机密性
LOW
完整性
LOW
可用性
LOW
时间信息
发布时间:
2023-03-06 18:19:05
修改时间:
2025-02-25 15:00:56
创建时间:
2025-11-11 15:38:08
更新时间:
2025-11-11 15:57:52
利用信息
暂无可利用代码信息
数据源详情
数据源 记录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
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:57:52
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202303-373; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202303-373
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:46:17
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']