{"answers":{"affected":"3 open source packages ship an affected version, including open-cluster-management.io/ocm.","exploited":"There is no known exploitation of CVE-2024-9779 in the wild and no public exploit code.","fix":"Upgrade open-cluster-management.io/ocm to 0.13.0 or later.","what":"CVE-2024-9779 is a high-severity vulnerability in Red Hat Advanced Cluster Management for Kubernetes 2, published on 17 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9779 and fix it if it is affected.\n\nWhat it is: CVE-2024-9779 is a high-severity vulnerability in Red Hat Advanced Cluster Management for Kubernetes 2, published on 17 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-9779 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- open-cluster-management.io/ocm (Go): affected all versions; fixed in 0.13.0\n- open-cluster-management.io/ocm (Go): affected all versions; fixed in 0.13.0\n- open-cluster-management.io/ocm (Go): affected all versions; fixed in 0.13.0\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-9779/ (Markdown: https://insights.sbomify.com/CVE-2024-9779/index.md)","id":"CVE-2024-9779","markdown":"https://insights.sbomify.com/CVE-2024-9779/index.md","name":"CVE-2024-9779","record":{"aliases":["GHSA-jhh6-6fhp-q2xp","GO-2024-3343"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes cluster management","requires_auth":"none","summary":"An attacker controlling a worker node can steal cluster-manager service account tokens to gain full cluster control.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"description":"A flaw was found in Open Cluster Management (OCM) when a user has access to the worker nodes which contain the cluster-manager or klusterlet deployments. The cluster-manager deployment uses a service account with the same name \"cluster-manager\" which is bound to a ClusterRole also named \"cluster-manager\", which includes the permission to create Pod resources. If this deployment runs a pod on an attacker-controlled node, the attacker can obtain the cluster-manager's token and steal any service account token by creating and mounting the target service account to control the whole cluster.","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":"Open-cluster-management-io/ocm: cluster-manager permissions may allow a worker node to obtain service account tokens","id":"CVE-2024-9779","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":"Missing Initialization of a Variable in Wireshark","id":"CVE-2024-9780"},"packages":[{"ecosystem":"Go","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"open-cluster-management.io/ocm","purl":null,"source":"GHSA-jhh6-6fhp-q2xp"},{"ecosystem":"Go","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"open-cluster-management.io/ocm","purl":"pkg:golang/open-cluster-management.io/ocm","source":"GHSA-jhh6-6fhp-q2xp"},{"ecosystem":"Go","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"open-cluster-management.io/ocm","purl":"pkg:golang/open-cluster-management.io/ocm","source":"GO-2024-3343"}],"prev":{"headline":"ImagePress – Image Gallery \u003c= 1.2.2 - Cross-Site Request Forgery to Plugin Settings Update","id":"CVE-2024-9778"},"products":["Red Hat Advanced Cluster Management for Kubernetes 2"],"published":"2024-12-17","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":"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":"2026-02-25","vendors":["Red Hat"]},"summary":"An attacker controlling a worker node can steal cluster-manager service account tokens to gain full cluster control.","url":"https://insights.sbomify.com/CVE-2024-9779/"}