Search criteria
1 vulnerability by clusternet
CVE-2023-30622 (GCVE-0-2023-30622)
Vulnerability from cvelistv5 – Published: 2023-04-24 15:34 – Updated: 2025-02-04 18:52
VLAI
Title
Clusternet has potential risk which can be leveraged to make a cluster-level privilege escalation
Summary
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.
Severity
6.6 (Medium)
CWE
- CWE-269 - Improper Privilege Management
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/clusternet/clusternet/security… | x_refsource_CONFIRM |
| https://github.com/clusternet/clusternet/releases… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| clusternet | clusternet |
Affected:
< 0.15.2
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T14:28:51.797Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/clusternet/clusternet/security/advisories/GHSA-833c-xh79-p429",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/clusternet/clusternet/security/advisories/GHSA-833c-xh79-p429"
},
{
"name": "https://github.com/clusternet/clusternet/releases/tag/v0.15.2",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/clusternet/clusternet/releases/tag/v0.15.2"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2023-30622",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-02-04T18:52:43.244715Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-02-04T18:52:55.490Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "clusternet",
"vendor": "clusternet",
"versions": [
{
"status": "affected",
"version": "\u003c 0.15.2"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 6.6,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"privilegesRequired": "HIGH",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-269",
"description": "CWE-269: Improper Privilege Management",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-04-24T15:34:05.430Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/clusternet/clusternet/security/advisories/GHSA-833c-xh79-p429",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/clusternet/clusternet/security/advisories/GHSA-833c-xh79-p429"
},
{
"name": "https://github.com/clusternet/clusternet/releases/tag/v0.15.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/clusternet/clusternet/releases/tag/v0.15.2"
}
],
"source": {
"advisory": "GHSA-833c-xh79-p429",
"discovery": "UNKNOWN"
},
"title": "Clusternet has potential risk which can be leveraged to make a cluster-level privilege escalation"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2023-30622",
"datePublished": "2023-04-24T15:34:05.430Z",
"dateReserved": "2023-04-13T13:25:18.832Z",
"dateUpdated": "2025-02-04T18:52:55.490Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}