CVE-2022-28224: Github.com/projectcalico/calico Calico Vulnerable To Pod Route Vulnerability
MODERATECVE-2022-28224 is a MODERATE (CVSS 5.5) calico vulnerable to pod route vulnerability (CWE-20: Improper Input Validation) affecting Github.com/projectcalico/calico libraries in the Go ecosystem. The issue involves calico vulnerable to pod route hijacking. Remediation is available by upgrading affected packages to version 3.22.2, 3.21.5, 3.20.5.
CVE-2022-28224 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H).
How to Fix CVE-2022-28224
To remediate this vulnerability, upgrade all affected Github.com/projectcalico/calico dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/projectcalico/calico to 3.22.2
Upgrade github.com/projectcalico/calico to 3.21.5
Upgrade github.com/projectcalico/calico to 3.20.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/projectcalico/calico
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-28224, inspect your project dependencies for Github.com/projectcalico/calico:
inspect dependencies for github.com/projectcalico/calico
Analyze the terminal output to locate any version of Github.com/projectcalico/calico in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.22.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/projectcalico/calico, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-28224 Affected Github.com/projectcalico/calico Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/projectcalico/calico
|
Go |
≥ 3.22.0
< 3.22.2
|
3.22.2
|
|
github.com/projectcalico/calico
|
Go |
≥ 3.21.0
< 3.21.5
|
3.21.5
|
|
github.com/projectcalico/calico
|
Go |
< 3.20.5
|
3.20.5
|
References
Frequently Asked Questions
What is CVE-2022-28224?
Which Github.com/projectcalico/calico versions are affected?
What version fixes CVE-2022-28224?
Is github.com/projectcalico/calico affected?
What is the CVSS score of CVE-2022-28224?
What CWE is associated with CVE-2022-28224?
How can I check Go dependencies for CVE-2022-28224?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9394-xfq9-6qrp",
"modified" : "2025-09-30T22:09:35Z",
"published" : "2022-06-07T00:00:33Z",
"aliases" : [ "CVE-2022-28224" ],
"summary" : "Calico vulnerable to pod route hijacking",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/projectcalico/calico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.22.0"
}, {
"fixed" : "3.22.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/projectcalico/calico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.21.0"
}, {
"fixed" : "3.21.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/projectcalico/calico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.20.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-28224"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/projectcalico/calico"
}, {
"type" : "WEB",
"url" : "https://www.tigera.io/security-bulletins-tta-2022-001"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-02T20:16:57Z",
"nvd_published_at" : "2022-06-06T18:15:00Z"
}
}