GitHub Advisoryadvisory · Go
GHSA-mgwr-h7mv-fh29 Hwameistor Potential Permission Leakage of Cluster Level
MEDIUM
Official page ↗
- Aliases
- CVE-2024-45054
- Ecosystem
- Go
- Packages
- github.com/hwameistor/hwameistor
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-200, CWE-266
- Reviewed
- 2024-08-29
Affected packages
• Go github.com/hwameistor/hwameistor: < 0.14.6 → fixed in 0.14.6
Description
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
Related
Alias · CVE (1)
- CVE-2024-45054 Hwameistor is an HA local storage system for cloud-native stateful workloads. vulnerability
References
- https://github.com/hwameistor/hwameistor/security/advisories/GHSA-mgwr-h7mv-fh29 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-45054 advisory
- https://github.com/hwameistor/hwameistor/issues/1457 web
- https://github.com/hwameistor/hwameistor/issues/1460 web
- https://github.com/hwameistor/hwameistor/commit/edf4cebed73cadd230bf97eab65c5311f2858450 web
- https://github.com/hwameistor/hwameistor package
- https://github.com/hwameistor/hwameistor/blob/main/helm/hwameistor/templates/clusterrole.yaml web