PT-2023-21233 · Cilium+1 · Cilium+1

Daniel-F3

+2

·

Published

2023-03-17

·

Updated

2024-07-01

·

CVE-2023-27593

CVSS v3.1

4.4

Medium

VectorAV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Cilium versions prior to 1.11.15 Cilium versions prior to 1.12.8 Cilium versions prior to 1.13.1
Description Cilium is a networking, observability, and security solution with an eBPF-based dataplane. An attacker with access to a Cilium agent pod can write to /opt/cni/bin due to a hostPath mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. Kubernetes RBAC should be used to deny users and service accounts exec access to Cilium agent pods.
Recommendations For versions prior to 1.11.15, update to version 1.11.15 or later. For versions prior to 1.12.8, update to version 1.12.8 or later. For versions prior to 1.13.1, update to version 1.13.1 or later. As a temporary workaround, consider using Kubernetes RBAC to deny users and service accounts exec access to Cilium agent pods. In cases where a user requires exec access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible.

Exploit

Fix

Incorrect Default Permissions

Weakness Enumeration

Related Identifiers

BIT-CILIUM-2023-27593
BIT-CILIUM-OPERATOR-2023-27593
BIT-CILIUM-PROXY-2023-27593
BIT-HUBBLE-2023-27593
BIT-HUBBLE-RELAY-2023-27593
BIT-HUBBLE-UI-2023-27593
BIT-HUBBLE-UI-BACKEND-2023-27593
CVE-2023-27593
GHSA-4HC4-PGFX-3MRX

Affected Products

Cilium
Kubernetes