CVE-2024-45054: Github.com/hwameistor/hwameistor Hwameistor Potential Permission Leakage Of Vulnerability
MODERATECVE-2024-45054 is a MODERATE (CVSS 2.3) hwameistor potential permission leakage of vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Github.com/hwameistor/hwameistor libraries in the Go ecosystem. The issue involves hwameistor potential permission leakage of cluster level. Remediation is available by upgrading affected packages to version 0.14.6.
CVE-2024-45054 at a Glance
Security Impact
CVSS: 2.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-45054
To remediate this vulnerability, upgrade all affected Github.com/hwameistor/hwameistor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hwameistor/hwameistor to 0.14.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hwameistor/hwameistor
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-45054, inspect your project dependencies for Github.com/hwameistor/hwameistor:
inspect dependencies for github.com/hwameistor/hwameistor
Analyze the terminal output to locate any version of Github.com/hwameistor/hwameistor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.14.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Github.com/hwameistor/hwameistor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-45054 Affected Github.com/hwameistor/hwameistor Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hwameistor/hwameistor
|
Go |
< 0.14.6
|
0.14.6
|
References
Frequently Asked Questions
What is CVE-2024-45054?
Which Github.com/hwameistor/hwameistor versions are affected?
What version fixes CVE-2024-45054?
Is github.com/hwameistor/hwameistor affected?
What is the CVSS score of CVE-2024-45054?
What CWE is associated with CVE-2024-45054?
How can I check Go dependencies for CVE-2024-45054?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mgwr-h7mv-fh29",
"modified" : "2024-11-18T16:27:08Z",
"published" : "2024-08-29T18:00:45Z",
"aliases" : [ "CVE-2024-45054" ],
"summary" : "Hwameistor Potential Permission Leakage of Cluster Level ",
"details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\nThis 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.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n>= v0.14.6\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nUpdate and Limit the ClusterRole using [security-role](https://github.com/hwameistor/hwameistor/blob/main/helm/hwameistor/templates/clusterrole.yaml).\n\n### References\n_Are there any links users can visit to find out more?_\nissues:\nhttps://github.com/hwameistor/hwameistor/issues/1457\nhttps://github.com/hwameistor/hwameistor/issues/1460\n\nalso reported by users via mails: \n[sparkEchooo](https://github.com/sparkEchooo), [younaman](https://github.com/younaman)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hwameistor/hwameistor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.14.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.14.5"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hwameistor/hwameistor/security/advisories/GHSA-mgwr-h7mv-fh29"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45054"
}, {
"type" : "WEB",
"url" : "https://github.com/hwameistor/hwameistor/issues/1457"
}, {
"type" : "WEB",
"url" : "https://github.com/hwameistor/hwameistor/issues/1460"
}, {
"type" : "WEB",
"url" : "https://github.com/hwameistor/hwameistor/commit/edf4cebed73cadd230bf97eab65c5311f2858450"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hwameistor/hwameistor"
}, {
"type" : "WEB",
"url" : "https://github.com/hwameistor/hwameistor/blob/main/helm/hwameistor/templates/clusterrole.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-266" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-29T18:00:45Z",
"nvd_published_at" : "2024-08-28T20:15:08Z"
}
}