CVE-2024-45054 Potential Permission Leakage of Cluster Level in hwameistor
A malicious user with worker node access can exploit excessive ClusterRole permissions to escalate privileges across the entire Kubernetes cluster.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-45054?
CVE-2024-45054 is a low-severity vulnerability in hwameistor, published on 28 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2024-45054?
3 open source packages ship an affected version, including github.com/hwameistor/hwameistor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hwameistor/hwameistor Go | All versions | 0.14.6 |
github.com/hwameistor/hwameistor Go | All versions | 0.14.6 |
github.com/hwameistor/hwameistor Go | All versions | 0.14.6 |
Products include Hwameistor Hwameistor.
How do I fix CVE-2024-45054?
Upgrade github.com/hwameistor/hwameistor to 0.14.6 or later.
Is CVE-2024-45054 being exploited?
There is no known exploitation of CVE-2024-45054 in the wild and no public exploit code.
Sources
Also known as GHSA-mgwr-h7mv-fh29, GO-2024-3103.