{"answers":{"affected":"3 open source packages ship an affected version, including github.com/hwameistor/hwameistor. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-45054 in the wild and no public exploit code.","fix":"Upgrade github.com/hwameistor/hwameistor to 0.14.6 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-45054 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-45054 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/hwameistor/hwameistor (Go): affected all versions; fixed in 0.14.6\n- github.com/hwameistor/hwameistor (Go): affected all versions; fixed in 0.14.6\n- github.com/hwameistor/hwameistor (Go): affected all versions; fixed in 0.14.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-45054/ (Markdown: https://insights.sbomify.com/CVE-2024-45054/index.md)","id":"CVE-2024-45054","markdown":"https://insights.sbomify.com/CVE-2024-45054/index.md","name":"CVE-2024-45054","record":{"aliases":["GHSA-mgwr-h7mv-fh29","GO-2024-3103"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes storage system","requires_auth":"high_privilege","summary":"A malicious user with worker node access can exploit excessive ClusterRole permissions to escalate privileges across the entire Kubernetes cluster.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"hwameistor","vendor":"hwameistor"}],"cvss":{"score":2.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Potential Permission Leakage of Cluster Level in hwameistor","id":"CVE-2024-45054","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":3,"n_references":5,"next":{"headline":"`fold (xor (shl 1, x), -1) -\u003e (rotl ~1, x)` misoptimization in zksolc","id":"CVE-2024-45056"},"packages":[{"ecosystem":"Go","fixed":["0.14.6"],"introduced":["0"],"last_affected":[],"package":"github.com/hwameistor/hwameistor","purl":null,"source":"GHSA-mgwr-h7mv-fh29"},{"ecosystem":"Go","fixed":["0.14.6"],"introduced":["0"],"last_affected":[],"package":"github.com/hwameistor/hwameistor","purl":"pkg:golang/github.com/hwameistor/hwameistor","source":"GHSA-mgwr-h7mv-fh29"},{"ecosystem":"Go","fixed":["0.14.6"],"introduced":["0"],"last_affected":[],"package":"github.com/hwameistor/hwameistor","purl":"pkg:golang/github.com/hwameistor/hwameistor","source":"GO-2024-3103"}],"prev":{"headline":"Remote Code Execution Vulnerability via SSTI in Fides Webserver Jinja Email Templating Engine","id":"CVE-2024-45053"},"products":["hwameistor"],"published":"2024-08-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-28","vendors":["hwameistor"]},"summary":"A malicious user with worker node access can exploit excessive ClusterRole permissions to escalate privileges across the entire Kubernetes cluster.","url":"https://insights.sbomify.com/CVE-2024-45054/"}