6.0medium
Cluster-level privilege escalation in kubean
- Severity
- 6.0medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3wfj-3x8q-hrpgGO-2024-3039
Description
Kubean is a cluster lifecycle management toolchain based on kubespray and other cluster LCM engine. The ClusterRole has `*` verbs of `*` resources. If a malicious user can access the worker node which has kubean's deployment, he/she can abuse these excessive permissions to do whatever he/she likes to the whole cluster, resulting in a cluster-level privilege escalation. This issue has been addressed in release version 0.18.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kubean-io kubean | < 0.18.0 | CVE List |
| github.com/kubean-io/kubean (Go) | before 0.18.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 6.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H |
| GitHub | 6.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
Kubean is a cluster lifecycle management toolchain based on kubespray and other cluster LCM engine. The ClusterRole has `*` verbs of `*` resources. If a malicious user can access the worker node which has kubean's deployment, he/she can abuse these excessive permissions to do whatever he/she likes to the whole cluster, resulting in a cluster-level privilege escalation. This issue has been addressed in release version 0.18.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
GitHub Advisory Database
Impact
This ClusterRole has * verbs of * resources. If a malicious user can access the worker node which has kubean's deployment, he/she can abuse these excessive permissions to do whatever he/she likes to the whole cluster, resulting in a cluster-level privilege escalation.
Patches
=v0.18.0
References
Reporting by @younaman(Nanzi Yang) https://github.com/kubean-io/kubean/issues/1326
Go Vulnerability Database
Kubean vulnerable to cluster-level privilege escalation in github.com/kubean-io/kubean
NVD (es)
Kubean es una cadena de herramientas de gestión del ciclo de vida del clúster basada en kubespray y otros motores LCM del clúster. ClusterRole tiene verbos `*` de recursos `*`. Si un usuario malintencionado puede acceder al nodo trabajador que tiene la implementación de Kubean, puede abusar de estos permisos excesivos para hacer lo que quiera en todo el clúster, lo que resultará en una escalada de privilegios a nivel de clúster. Este problema se solucionó en la versión 0.18.0. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41820 changed 2024-08-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3wfj-3x8q-hrpg changed 2024-11-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3039 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-41820 changed 2026-06-17 | Public domain |