CVE-2024-33522: Github.com/projectcalico/calico Calico Privilege Escalation Vulnerability Vulnerability
HIGHCVE-2024-33522 is a HIGH (CVSS 6.7) calico privilege escalation vulnerability vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/projectcalico/calico libraries in the Go ecosystem. The issue involves calico privilege escalation vulnerability. Remediation is available by upgrading affected packages to version 3.26.5, 3.27.3.
CVE-2024-33522 at a Glance
Security Impact
CVSS: 6.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-33522
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.26.5
Upgrade github.com/projectcalico/calico to 3.27.3
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-2024-33522, 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.26.5), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. 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-2024-33522 Affected Github.com/projectcalico/calico Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/projectcalico/calico
|
Go |
< 3.26.5
|
3.26.5
|
|
github.com/projectcalico/calico
|
Go |
≥ 3.27.0
< 3.27.3
|
3.27.3
|
References
Frequently Asked Questions
What is CVE-2024-33522?
Which Github.com/projectcalico/calico versions are affected?
What version fixes CVE-2024-33522?
Is github.com/projectcalico/calico affected?
What is the CVSS score of CVE-2024-33522?
What CWE is associated with CVE-2024-33522?
How can I check Go dependencies for CVE-2024-33522?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6362-gv4m-53ww",
"modified" : "2024-11-18T16:26:40Z",
"published" : "2024-04-30T00:30:34Z",
"aliases" : [ "CVE-2024-33522" ],
"summary" : "Calico privilege escalation vulnerability",
"details" : "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.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/projectcalico/calico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.26.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/projectcalico/calico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.27.0"
}, {
"fixed" : "3.27.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-33522"
}, {
"type" : "WEB",
"url" : "https://github.com/projectcalico/calico/issues/7981"
}, {
"type" : "WEB",
"url" : "https://github.com/projectcalico/calico/pull/8447"
}, {
"type" : "WEB",
"url" : "https://github.com/projectcalico/calico/pull/8517"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-6362-gv4m-53ww"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/projectcalico/calico"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-2801"
}, {
"type" : "WEB",
"url" : "https://www.tigera.io/security-bulletins-tta-2024-001"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-10T21:38:13Z",
"nvd_published_at" : "2024-04-29T23:15:06Z"
}
}