CVE-2024-45054: Hwameistor Potential Permission Leakage of Cluster Level
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.
Published Aug 29, 2024 · Updated Nov 18, 2024
Affected packages
github.com/hwameistor/hwameistor
- Ecosystem
- Go
- Affected
- <= 0.14.5
- Fixed in
- 0.14.6
- Check
go list -m github.com/hwameistor/hwameistor
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to younaman.
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/blob/main/helm/hwameistor/templates/clusterrole.yaml
- https://github.com/advisories/GHSA-mgwr-h7mv-fh29
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
