{"answers":{"affected":"7 open source packages ship an affected version, including github.com/rancher/rancher.","exploited":"There is no known exploitation of CVE-2024-22030 in the wild and no public exploit code.","fix":"Upgrade github.com/rancher/rancher to a fixed version for your release line: 2.7.15, 2.8.8 or 2.9.2.","what":"CVE-2024-22030 is a high-severity vulnerability in SUSE rancher, published on 16 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-22030 and fix it if it is affected.\n\nWhat it is: CVE-2024-22030 is a high-severity vulnerability in SUSE rancher, published on 16 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-22030 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/rancher/rancher (Go): affected all versions; no fix listed\n- github.com/rancher/rancher (Go): affected from 2.7.0; fixed in 2.7.15\n- github.com/rancher/rancher (Go): affected from 2.7.0; fixed in 2.7.15\n- github.com/rancher/rancher (Go): affected from 2.8.0; fixed in 2.8.8\n- github.com/rancher/rancher (Go): affected from 2.8.0; fixed in 2.8.8\n- github.com/rancher/rancher (Go): affected from 2.9.0; fixed in 2.9.2\n- github.com/rancher/rancher (Go): affected from 2.9.0; fixed in 2.9.2\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-22030/ (Markdown: https://insights.sbomify.com/CVE-2024-22030/index.md)","id":"CVE-2024-22030","markdown":"https://insights.sbomify.com/CVE-2024-22030/index.md","name":"CVE-2024-22030","record":{"aliases":["GHSA-h4h5-9833-v2p4","GO-2024-3161"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Rancher management platform","requires_auth":"high_privilege","summary":"Attackers can hijack Rancher agents via MITM attacks on expired or spoofed server domains, leading to agent compromise.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"A vulnerability has been identified within Rancher that can be exploited\n in narrow circumstances through a man-in-the-middle (MITM) attack. An \nattacker would need to have control of an expired domain or execute a \nDNS spoofing/hijacking attack against the domain to exploit this \nvulnerability. The targeted domain is the one used as the Rancher URL.","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":"Rancher agents can be hijacked by taking over the Rancher Server URL","id":"CVE-2024-22030","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":7,"n_references":2,"next":{"headline":"Rancher users who can create Projects can gain access to arbitrary projects","id":"CVE-2024-22031"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GO-2024-3161"},{"ecosystem":"Go","fixed":["2.7.15"],"introduced":["2.7.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":null,"source":"GHSA-h4h5-9833-v2p4"},{"ecosystem":"Go","fixed":["2.7.15"],"introduced":["2.7.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GHSA-h4h5-9833-v2p4"},{"ecosystem":"Go","fixed":["2.8.8"],"introduced":["2.8.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":null,"source":"GHSA-h4h5-9833-v2p4"},{"ecosystem":"Go","fixed":["2.8.8"],"introduced":["2.8.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GHSA-h4h5-9833-v2p4"},{"ecosystem":"Go","fixed":["2.9.2"],"introduced":["2.9.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":null,"source":"GHSA-h4h5-9833-v2p4"},{"ecosystem":"Go","fixed":["2.9.2"],"introduced":["2.9.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GHSA-h4h5-9833-v2p4"}],"prev":{"headline":"tomcat packaging allows for escalation to root from tomcat user","id":"CVE-2024-22029"},"products":["rancher"],"published":"2024-10-16","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":"total"},"state":"PUBLISHED","updated":"2024-10-16","vendors":["SUSE"]},"summary":"Attackers can hijack Rancher agents via MITM attacks on expired or spoofed server domains, leading to agent compromise.","url":"https://insights.sbomify.com/CVE-2024-22030/"}