CVE-2024-52529
Layer 7 policy enforcement may not occur in policies with wildcarded port ranges in Cilium
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.
How to fix CVE-2024-52529
To remediate CVE-2024-52529, upgrade the affected package to a fixed version below.
- —upgrade to 1.16.4 or later
- —upgrade to 1.16.4 or later
- —upgrade to 1.16.4 or later
- —upgrade to 1.16.4 or later
- —upgrade to 1.16.4 or later
Is CVE-2024-52529 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- >= 1.16.0, < 1.16.4
- >= 1.16.0, < 1.16.4
- >= 1.16.0, < 1.16.4
- >= 1.16.0, < 1.16.4
- >= 1.16.0, < 1.16.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |