2.8low
Potential Permission Leakage of Cluster Level in hwameistor
- Severity
- 2.8low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-mgwr-h7mv-fh29GO-2024-3103
Description
Hwameistor is an HA local storage system for cloud-native stateful workloads. This ClusterRole has * verbs of * resources. If a malicious user can access the worker node which has hwameistor'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 patched in version 0.14.6. All users are advised to upgrade. Users unable to upgrade should update and limit the ClusterRole using security-role.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hwameistor hwameistor | < 0.14.6, before 0.14.6 | CVE List, NVD |
| github.com/hwameistor/hwameistor (Go) | before 0.14.6 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 2.8low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N |
| GitHub | 2.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Hwameistor is an HA local storage system for cloud-native stateful workloads. This ClusterRole has * verbs of * resources. If a malicious user can access the worker node which has hwameistor'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 patched in version 0.14.6. All users are advised to upgrade. Users unable to upgrade should update and limit the ClusterRole using security-role.
GitHub Advisory Database
Impact
What kind of vulnerability is it? Who is impacted? This ClusterRole has * verbs of * resources. If a malicious user can access the worker node which has hwameistor'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
Has the problem been patched? What versions should users upgrade to?
= v0.14.6
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading? Update and Limit the ClusterRole using security-role.
References
Are there any links users can visit to find out more? issues: https://github.com/hwameistor/hwameistor/issues/1457 https://github.com/hwameistor/hwameistor/issues/1460
also reported by users via mails: sparkEchooo, younaman
Go Vulnerability Database
Hwameistor Potential Permission Leakage of Cluster Level in github.com/hwameistor/hwameistor
NVD (es)
Hwameistor es un sistema de almacenamiento local de alta disponibilidad para cargas de trabajo nativas de la nube con estado. Este ClusterRole tiene * verbos de * recursos. Si un usuario malintencionado puede acceder al nodo de trabajo que tiene la implementación de hwameistor, puede abusar de estos permisos excesivos para hacer lo que quiera con todo el clúster, lo que da como resultado una escalada de privilegios a nivel de clúster. Este problema se ha corregido en la versión 0.14.6. Se recomienda a todos los usuarios que actualicen. Los usuarios que no puedan actualizar deben actualizar y limitar el ClusterRole mediante security-role.
References
| https://github.com/hwameistor/hwameistor/security/advisories/GHSA-mgwr-h7mv-fh29 | advisory, vendor-advisory, web | |
| https://github.com/hwameistor/hwameistor/issues/1457 | issue-tracking, report, web | |
| https://github.com/hwameistor/hwameistor/issues/1460 | issue-tracking, report, web | |
| https://github.com/hwameistor/hwameistor/commit/edf4cebed73cadd230bf97eab65c5311f2858450 | fix, patch, web | |
| https://github.com/hwameistor/hwameistor/blob/main/helm/hwameistor/templates/clusterrole.yaml | product, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-45054 | advisory | |
| https://github.com/hwameistor/hwameistor | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45054 changed 2024-08-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mgwr-h7mv-fh29 changed 2024-11-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3103 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-45054 changed 2026-06-17 | Public domain |