GHSA-mgwr-h7mv-fh29
Hwameistor Potential Permission Leakage of Cluster Level
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/hwameistor/hwameistor | < 0.14.6 | 0.14.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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](https://github.com/hwameistor/hwameistor/blob/main/helm/hwameistor/templates/clusterrole.yaml).
### 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](https://github.com/sparkEchooo), [younaman](https://github.com/younaman)
References
External links from the advisory. They lead to third-party sites.
- https://github.com/hwameistor/hwameistor/security/advisories/GHSA-mgwr-h7mv-fh29
- https://nvd.nist.gov/vuln/detail/CVE-2024-45054
- https://github.com/hwameistor/hwameistor/issues/1457
- https://github.com/hwameistor/hwameistor/issues/1460
- https://github.com/hwameistor/hwameistor/commit/edf4cebed73cadd230bf97eab65c5311f2858450
- https://github.com/hwameistor/hwameistor
- https://github.com/hwameistor/hwameistor/blob/main/helm/hwameistor/templates/clusterrole.yaml