Vulnerability · Published Nov 25, 2024 · Assigned by GitHub_M
CVE-2024-52529Layer 7 policy enforcement may not occur in policies with wildcarded port ranges in Cilium
Medium 5.8
In plain English
A medium-severity security flaw in cilium from cilium. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cilium/cilium | 1.16.4 | GHSA-xg58-75qf-9r67 |
| Go | github.com/cilium/cilium | 1.16.4 | GO-2024-3290 |
Affected products (as reported)
Weakness: CWE-755 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
References
- https://github.com/cilium/cilium/security/advisories/GHSA-xg58-75qf-9r67 x_refsource_CONFIRM
- https://github.com/cilium/cilium/pull/35150 x_refsource_MISC