Privilege escalation in Calico CNI install binary
Tigera Calico · Tigera Calico Enterprise · Tigera Calico Cloud
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/projectcalico/calico Go |
|
|
| github.com/projectcalico/calico/v3 Go |
|
Tigera Calico · Tigera Calico Enterprise · Tigera Calico Cloud
| Product | Affected | Fixed in |
|---|---|---|
| github.com/projectcalico/calico Go |
|
|
| github.com/projectcalico/calico/v3 Go |
|
| No fix yet |
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.
From the CVE record · Tigera
The Calico CNI install binary has an incorrect SUID configuration. An attacker with local access to a Kubernetes node who can control the input binary can execute an arbitrary binary with elevated privileges.
Check deployments of Calico v3.27.2 and below, Calico Enterprise v3.19.0-1, v3.18.1, v3.17.3 and below, or Calico Cloud v19.2.0 and below, as well as users of the affected Go packages.