Vulnerability · Published Apr 29, 2024 · Assigned by Tigera
CVE-2024-33522Privilege escalation in Calico CNI install binary
Medium 6.7
In plain English
A medium-severity privilege mismanagement in Calico from Tigera. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/projectcalico/calico | 3.26.5 | GHSA-6362-gv4m-53ww |
| Go | github.com/projectcalico/calico | 3.27.3 | GHSA-6362-gv4m-53ww |
| Go | github.com/projectcalico/calico | no fix listed | GO-2024-2801 |
| Go | github.com/projectcalico/calico/v3 | no fix listed | GO-2024-2801 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Tigera | Calico | 0 – before v3.26.5v3.27.0 – before v3.27.3 |
| Tigera | Calico Enterprise | 0 – before v3.17.4v3.18.0 – before v3.18.2v3.19.0-1.0 – before v3.19.0-2.0 |
| Tigera | Calico Cloud | 0 – before v19.3.0 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/projectcalico/calico/issues/7981 exploit, issue-tracking
- https://github.com/projectcalico/calico/pull/8447 patch
- https://github.com/projectcalico/calico/pull/8517 patch
- https://www.tigera.io/security-bulletins-tta-2024-001/ vendor-advisory