VDB
Sign up
MEDIUM6.7

GHSA-6362-gv4m-53ww

Calico privilege escalation vulnerability

Quick fix

GHSA-6362-gv4m-53ww — github.com/projectcalico/calico: upgrade to the fixed version with the command below.

go get github.com/projectcalico/calico@v3.26.5

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/projectcalico/calico
Introduced in: 0Fixed in: 3.26.5
Fixgo get github.com/projectcalico/calico@v3.26.5
Go/github.com/projectcalico/calico
Introduced in: 3.27.0Fixed in: 3.27.3
Fixgo get github.com/projectcalico/calico@v3.27.3

References