CVE-2024-41820
JSON

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 packageVersionsReported by
kubean-io kubean< 0.18.0CVE List
github.com/kubean-io/kubean (Go)before 0.18.0GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M6.0medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H
GitHub6.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H
GitHubhigh CVSS:4.0CVSS: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

CWE-276CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-41820 changed 2024-08-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-3wfj-3x8q-hrpg changed 2024-11-18CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3039 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-41820 changed 2026-06-17Public domain