GitHub Advisoryadvisory · Go
GHSA-833c-xh79-p429 A potential risk in clusternet which can be leveraged to make a cluster-level privilege escalation
MEDIUM
Official page ↗
- Aliases
- CVE-2023-30622
- Ecosystem
- Go
- Packages
- github.com/clusternet/clusternet
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L
- Weaknesses
- CWE-269
- Reviewed
- 2023-04-21
Affected packages
• Go github.com/clusternet/clusternet: < 0.15.2 → fixed in 0.15.2
Description
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.
Related
Alias · CVE (1)
- CVE-2023-30622 Clusternet is a general-purpose system for controlling Kubernetes clusters across different environments. vulnerability
Weakness · CWE (1)
- CWE-269 Improper Privilege Management weakness