github.com/clusternet/clusternet
Affected
- introduced
0, fixed0.15.2(semver)
Fixed versions
0.15.2
Fix
- Fixed version
0.15.2go get github.com/clusternet/[email protected]
Advisory
Also known as: CVE-2023-30622, GO-2023-1735
A potential risk in clusternet which can be leveraged to make a cluster-level privilege escalation
Summary:
A potential risk in clusternet which can be leveraged to make a cluster-level privilege escalation.
Detailed analysis:
The clusternet has a deployment called cluster-hub inside the clusternet-system Kubernetes namespace, which runs on worker nodes
randomly. The deployment has a service account called clusternet-hub, which has a cluster role called clusternet:hub via cluster role binding. The clusternet:hub cluster role has "*" verbs of "*.*" resources. Thus, if a malicious user can access the worker node which runs the clusternet, he/she can leverage the service account to do malicious actions to critical system resources. For example, he/she can leverage the service account to get ALL secrets in the entire cluster, resulting in cluster-level privilege escalation.
Medium Basis: The source's own band: MODERATE
0, fixed 0.15.2 (semver)0.15.2
0.15.2go get github.com/clusternet/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0