CVE-2023-30622 Clusternet has potential risk which can be leveraged to make a cluster-level privilege escalation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Kubernetes
Description
Clusternet is a general-purpose system for controlling Kubernetes clusters across different environments. An issue in clusternet prior to version 0.15.2 can be leveraged to lead to a cluster-level privilege escalation. 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, they can leverage the service account to do malicious actions to critical system resources. For example, the malicious user can leverage the service account to get ALL secrets in the entire cluster, resulting in cluster-level privilege escalation. Version 0.15.2 contains a fix for this issue.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| clusternet github.com/clusternet/clusternet | <= 0.15.1; = < 0.15.2 | after 0.15.1 | Fixed |
| clusternet github.com/clusternet/clusternet(Go) | < 0.15.2 | 0.15.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| clusternet github.com/clusternet/clusternet(Go) | < 0.15.2 | 0.15.2 |
| clusternet github.com/clusternet/clusternet | = < 0.15.2 | No fix listed |
| clusternet github.com/clusternet/clusternet | <= 0.15.1 | No fix listed |
References
- https://github.com/clusternet/clusternet/security/advisories/GHSA-833c-xh79-p429 vendor-advisory
- https://github.com/clusternet/clusternet/releases/tag/v0.15.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product