{"answers":{"affected":"6 open source packages ship an affected version, including github.com/projectcalico/calico and github.com/projectcalico/calico/v3.","exploited":"There is no known exploitation of CVE-2024-33522 in the wild and no public exploit code.","fix":"Upgrade github.com/projectcalico/calico to a fixed version for your release line: 3.26.5 or 3.27.3.","what":"CVE-2024-33522 is a medium-severity vulnerability in Tigera Calico, published on 29 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-33522 and fix it if it is affected.\n\nWhat it is: CVE-2024-33522 is a medium-severity vulnerability in Tigera Calico, published on 29 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-33522 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/projectcalico/calico (Go): affected all versions; no fix listed\n- github.com/projectcalico/calico (Go): affected all versions; fixed in 3.26.5\n- github.com/projectcalico/calico (Go): affected all versions; fixed in 3.26.5\n- github.com/projectcalico/calico (Go): affected from 3.27.0; fixed in 3.27.3\n- github.com/projectcalico/calico (Go): affected from 3.27.0; fixed in 3.27.3\n- github.com/projectcalico/calico/v3 (Go): affected all versions; no fix listed\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-33522/ (Markdown: https://insights.sbomify.com/CVE-2024-33522/index.md)","id":"CVE-2024-33522","markdown":"https://insights.sbomify.com/CVE-2024-33522/index.md","name":"CVE-2024-33522","record":{"aliases":["GHSA-6362-gv4m-53ww","GO-2024-2801","MINI-5h63-q9vf-vwq7","MINI-5vjf-3cw2-4hch","MINI-fvqp-pfrg-5m58","MINI-j6fj-66xq-xq6m"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Calico CNI plugin","requires_auth":"high_privilege","summary":"Local attackers on Kubernetes nodes can escalate privileges to root by exploiting an insecure SUID bit in the Calico CNI install binary.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Tigera","cpe":[],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"In vulnerable versions of Calico (v3.27.2 and below), Calico Enterprise (v3.19.0-1, v3.18.1, v3.17.3 and below), and Calico Cloud (v19.2.0 and below), an attacker who has local access to the Kubernetes node, can escalate their privileges by exploiting a vulnerability in the Calico CNI install binary. The issue arises from an incorrect SUID (Set User ID) bit configuration in the binary, combined with the ability to control the input binary, allowing an attacker to execute an arbitrary binary with elevated privileges.","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":"Privilege escalation in Calico CNI install binary","id":"CVE-2024-33522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":6,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-33525"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":"pkg:golang/github.com/projectcalico/calico","source":"GO-2024-2801"},{"ecosystem":"Go","fixed":["3.26.5"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":null,"source":"GHSA-6362-gv4m-53ww"},{"ecosystem":"Go","fixed":["3.26.5"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":"pkg:golang/github.com/projectcalico/calico","source":"GHSA-6362-gv4m-53ww"},{"ecosystem":"Go","fixed":["3.27.3"],"introduced":["3.27.0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":null,"source":"GHSA-6362-gv4m-53ww"},{"ecosystem":"Go","fixed":["3.27.3"],"introduced":["3.27.0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":"pkg:golang/github.com/projectcalico/calico","source":"GHSA-6362-gv4m-53ww"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/projectcalico/calico/v3","purl":"pkg:golang/github.com/projectcalico/calico/v3","source":"GO-2024-2801"}],"prev":{"headline":"Authenticated Server-Side prototype pollution Leading to Information Disclosure","id":"CVE-2024-33519"},"products":["Calico","Calico Cloud","Calico Enterprise "],"published":"2024-04-29","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-08-02","vendors":["Tigera"]},"summary":"Local attackers on Kubernetes nodes can escalate privileges to root by exploiting an insecure SUID bit in the Calico CNI install binary.","url":"https://insights.sbomify.com/CVE-2024-33522/"}