{"id":"CVE-2024-52529","published":"2024-11-25T18:49:15Z","modified":"2024-11-26T14:28:59Z","title":"Layer 7 policy enforcement may not occur in policies with wildcarded port ranges in Cilium","vendor":"cilium","product":"cilium","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00611,"percentile":0.43461,"provenance":"source"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/cilium/cilium/security/advisories/GHSA-xg58-75qf-9r67","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cilium/cilium/pull/35150","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.69},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"cilium","affectedVersions":[{"vendor":"cilium","product":"cilium","versions":[">= 1.16.0, < 1.16.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-26T14:27:46.184253Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cilium/cilium","vulnerableRanges":[">=1.16.0, <1.16.4"],"patched":["1.16.4"],"from":["GHSA-xg58-75qf-9r67","GO-2024-3290"],"provenance":"source"}],"summary":{"text":"Cilium's eBPF-based dataplane in v1.16.0 through v1.16.3 fails to enforce Layer 7 policy for traffic selected by a Layer 7 rule when that rule sits inside an allow policy that uses a port range, a feature introduced in v1.16. An attacker with network access that matches an L3 allow policy using a port range, and no authentication or user interaction, can send traffic that bypasses the intended Layer 7 enforcement, with the issue arising only in that specific policy configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:57Z"},"euvd":{"id":"EUVD-2024-3391","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-47825","published":"2024-10-21","fixed":"1.15.10","kev":false},{"cve":"CVE-2024-42486","published":"2024-08-16","fixed":"1.16.1","kev":false,"link":{"from":"CVE-2024-42486","to":"CVE-2024-52529","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cilium/cilium","fromFixed":"1.16.1","toFixed":"1.16.4","daysApart":101}]}},{"cve":"CVE-2024-42487","published":"2024-08-15","fixed":"1.16.1","kev":false},{"cve":"CVE-2024-52529","published":"2024-11-25","fixed":"1.16.4","kev":false},{"cve":"CVE-2025-23028","published":"2025-01-22","fixed":"1.16.5","kev":false,"link":{"from":"CVE-2024-52529","to":"CVE-2025-23028","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cilium/cilium","fromFixed":"1.16.4","toFixed":"1.16.5","daysApart":58}]}},{"cve":"CVE-2025-23047","published":"2025-01-22","fixed":"1.16.6","kev":false},{"cve":"CVE-2025-30162","published":"2025-03-24","fixed":"1.17.2","kev":false}],"package":"Go:github.com/cilium/cilium"}}