GitHub Advisory Database
GHSA-mgwr-h7mv-fh29
Hwameistor Potential Permission Leakage of Cluster Level
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hwameistor/hwameistor | All versions before 0.14.6 (fixed in 0.14.6) |
References
- 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