Vulnerability · Published Apr 24, 2023 · Assigned by GitHub_M
CVE-2023-30622Clusternet has potential risk which can be leveraged to make a cluster-level privilege escalation
Medium 6.6
In plain English
A medium-severity privilege mismanagement in clusternet from clusternet. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/clusternet/clusternet | 0.15.2 | GO-2023-1735 |
| Go | github.com/clusternet/clusternet | 0.15.2 | GHSA-833c-xh79-p429 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| clusternet | clusternet | < 0.15.2 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L
References
- https://github.com/clusternet/clusternet/security/advisories/GHSA-833c-xh79-p429 x_refsource_CONFIRM
- https://github.com/clusternet/clusternet/releases/tag/v0.15.2 x_refsource_MISC