{"answers":{"affected":"6 open source packages ship an affected version, including github.com/projectcalico/calico. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-28224 in the wild and no public exploit code.","fix":"Upgrade github.com/projectcalico/calico to a fixed version for your release line: 3.20.5, 3.21.5 or 3.22.2.","what":"CVE-2022-28224 is a medium-severity missing authorization vulnerability in Project Calico Calico, published on 6 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-28224 and fix it if it is affected.\n\nWhat it is: CVE-2022-28224 is a medium-severity missing authorization vulnerability in Project Calico Calico, published on 6 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-28224 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/projectcalico/calico (Go): affected all versions; fixed in 3.20.5\n- github.com/projectcalico/calico (Go): affected all versions; fixed in 3.20.5\n- github.com/projectcalico/calico (Go): affected from 3.21.0; fixed in 3.21.5\n- github.com/projectcalico/calico (Go): affected from 3.21.0; fixed in 3.21.5\n- github.com/projectcalico/calico (Go): affected from 3.22.0; fixed in 3.22.2\n- github.com/projectcalico/calico (Go): affected from 3.22.0; fixed in 3.22.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-2022-28224/ (Markdown: https://insights.sbomify.com/CVE-2022-28224/index.md)","id":"CVE-2022-28224","markdown":"https://insights.sbomify.com/CVE-2022-28224/index.md","name":"CVE-2022-28224","record":{"aliases":["GHSA-9394-xfq9-6qrp"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Calico networking","requires_auth":"high_privilege","summary":"A privileged attacker can hijack routes by setting floating IP annotations on pods, allowing traffic interception even when the feature is disabled.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Tigera","cpe":[{"product":"calico","vendor":"tigera"},{"product":"calico_enterprise","vendor":"tigera"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Clusters using Calico (version 3.22.1 and below), Calico Enterprise (version 3.12.0 and below), may be vulnerable to route hijacking with the floating IP feature. Due to insufficient validation, a privileged attacker may be able to set a floating IP annotation to a pod even if the feature is not enabled. This may allow the attacker to intercept and reroute traffic to their compromised pod.","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":"Calico and Calico Enterprise may be vulnerable to route hijacking with the floating IP feature","id":"CVE-2022-28224","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2022"},"n_packages":6,"n_references":1,"next":{"headline":"Privilege escalation in Yandex Browser (Desktop)","id":"CVE-2022-28225"},"packages":[{"ecosystem":"Go","fixed":["3.20.5"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":null,"source":"GHSA-9394-xfq9-6qrp"},{"ecosystem":"Go","fixed":["3.20.5"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":"pkg:golang/github.com/projectcalico/calico","source":"GHSA-9394-xfq9-6qrp"},{"ecosystem":"Go","fixed":["3.21.5"],"introduced":["3.21.0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":null,"source":"GHSA-9394-xfq9-6qrp"},{"ecosystem":"Go","fixed":["3.21.5"],"introduced":["3.21.0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":"pkg:golang/github.com/projectcalico/calico","source":"GHSA-9394-xfq9-6qrp"},{"ecosystem":"Go","fixed":["3.22.2"],"introduced":["3.22.0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":null,"source":"GHSA-9394-xfq9-6qrp"},{"ecosystem":"Go","fixed":["3.22.2"],"introduced":["3.22.0"],"last_affected":[],"package":"github.com/projectcalico/calico","purl":"pkg:golang/github.com/projectcalico/calico","source":"GHSA-9394-xfq9-6qrp"}],"prev":{"headline":"File upload in n/a","id":"CVE-2022-28223"},"products":["Calico","Calico Enterprise"],"published":"2022-06-06","related":[{"cvss_score":7.9,"headline":"L7 policy bypass via unnormalized HTTP path matching","id":"CVE-2026-6540","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":6.2,"headline":"Calico Tier Authorization Bypass via DeleteCollection","id":"CVE-2026-41187","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":6,"headline":"Unauthenticated Go pprof exposure in Calico debug server","id":"CVE-2026-41186","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":6,"headline":"ServiceAccount token disclosure via install-cni container logs","id":"CVE-2026-41184","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":6,"headline":"ServiceAccount token disclosure via Azure IPAM CNI plugin logs","id":"CVE-2026-41185","kev_date_added":null,"published":"2026-05-28"}],"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Project Calico","Tigera"]},"summary":"A privileged attacker can hijack routes by setting floating IP annotations on pods, allowing traffic interception even when the feature is disabled.","url":"https://insights.sbomify.com/CVE-2022-28224/"}