Skip to content
OpenAdvisories
Medium · 6.7 CVE-2024-33522 EUVD-2024-1115GHSA-6362-gv4m-53wwGO-2024-2801

Privilege escalation in Calico CNI install binary

Published Apr 29, 2024 · Updated Aug 2, 2024 · Assigned by Tigera

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 products

VendorProductAffectedFixed
Tigera Calico < v3.26.5, v3.27.0 – < v3.27.3 v3.26.5
Tigera Calico Enterprise < v3.17.4, v3.18.0 – < v3.18.2, v3.19.0-1.0 – < v3.19.0-2.0 v3.17.4
Tigera Calico Cloud < v19.3.0 v19.3.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/projectcalico/calico < 3.26.5 3.26.5 GHSA-6362-gv4m-53ww
Go github.com/projectcalico/calico >= 3.27.0, < 3.27.3 3.27.3 GHSA-6362-gv4m-53ww
Go github.com/projectcalico/calico all versions — GO-2024-2801
Go github.com/projectcalico/calico/v3 all versions — GO-2024-2801

References