CVE-2024-52529: Layer 7 policy enforcement may not occur in policies with wildcarded port ranges in Cilium

5.8 CVSS

Description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. For users with the following configuration: 1. An allow policy that selects a Layer 3 destination and a port range `AND` 2. A Layer 7 allow policy that selects a specific port within the first policy's range the Layer 7 enforcement would not occur for the traffic selected by the Layer 7 policy. This issue only affects users who use Cilium's port range functionality, which was introduced in Cilium v1.16. This issue is patched in PR #35150. This issue affects Cilium v1.16 between v1.16.0 and v1.16.3 inclusive. This issue is patched in Cilium v1.16.4. Users are advised to upgrade. Users with network policies that match the pattern described above can work around the issue by rewriting any policies that use port ranges to individually specify the ports permitted for traffic.

Classification

CVE ID: CVE-2024-52529

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.8

Affected Products

Vendor: cilium

Product: cilium

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.44% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://github.com/cilium/cilium/security/advisories/GHSA-xg58-75qf-9r67
https://github.com/cilium/cilium/pull/35150

Timeline