Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-23939— Azure/setup-kubectl: Escalation of privilege vulnerability for v3 and lower

Quick assessment

Affected
Azure setup-kubectl
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

setup-kubectl是在Azure云中安装kubectl的工具。 Azure setup-kubectl 3.0之前版本存在安全漏洞。攻击者利用该漏洞可以升级权限。

CVSS 3.9 · Low EPSS 0.36% · P28
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-23939

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Azure/setup-kubectl: Escalation of privilege vulnerability for v3 and lower
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
关键资源的不正确权限授予
Source: CVE Program / CVE List V5
Vulnerability Title
Azure setup-kubectl 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
setup-kubectl是在Azure云中安装kubectl的工具。 Azure setup-kubectl 3.0之前版本存在安全漏洞。攻击者利用该漏洞可以升级权限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Azure setup-kubectl < 3 -

II. Public POCs for CVE-2023-23939

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-23939

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-23939 (1)

Vendor Advisories for CVE-2023-23939 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-23939

No comments yet


Leave a comment