Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-833c-xh79-p429: 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.

ghsa
#git#kubernetes
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. GHSA-833c-xh79-p429

A potential risk in clusternet which can be leveraged to make a cluster-level privilege escalation

Moderate severity GitHub Reviewed Published Apr 21, 2023 in clusternet/clusternet • Updated Apr 21, 2023

Package

gomod github.com/clusternet/clusternet (Go)

Affected versions

< 0.15.2

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.

References

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

Published to the GitHub Advisory Database

Apr 21, 2023

Last updated

Apr 21, 2023

ghsa: Latest News

GHSA-g5x8-v2ch-gj2g: Vaultwarden HTML injection vulnerability