PT-2024-32836 · Cilium+1 · Cilium+1

Christarazi

·

Published

2024-10-21

·

Updated

2024-12-19

·

CVE-2024-47825

CVSS v3.1

8.7

High

VectorAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Cilium versions 1.14.0 through 1.14.15 Cilium versions 1.15.0 through 1.15.9
Description A policy rule denying a prefix that is broader than /32 may be ignored if there is a policy rule referencing a more narrow prefix (CIDRSet or toFQDN) and this narrower policy rule specifies either enableDefaultDeny: false or - toEntities: all. This issue affects policies using enableDefaultDeny: false or that set toEntities to all. For example, given the below policies, traffic is allowed to 1.1.1.2, when it should be denied.
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
 name: block-scary-range
spec:
 endpointSelector: {}
 egressDeny:
 - toCIDRSet:
  - cidr: 1.0.0.0/8
---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
 name: evade-deny
spec:
 endpointSelector: {}
 egress:
 - toCIDR:
  - 1.1.1.2/32
 - toEntities:
  - all
Recommendations For users with policies using enableDefaultDeny: false, remove this configuration option and explicitly define any allow rules required. For users with egress policies that explicitly specify toEntities: all, consider using toEntities: world as a temporary workaround until a patch is available. Update to Cilium v1.14.16 or v1.15.10 to resolve the issue.

Exploit

Fix

Incorrect Default Permissions

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-CILIUM-2024-47825
BIT-CILIUM-OPERATOR-2024-47825
BIT-HUBBLE-RELAY-2024-47825
CVE-2024-47825
GHSA-3WWX-63FV-PFQ6
GO-2024-3208
OPENSUSE-SU-2024:0350-1
OPENSUSE-SU-2024:14447-1
OPENSUSE-SU-2024_3911-1
SUSE-SU-2024:3911-1

Affected Products

Cilium
Suse