CVE-2024-52529 Layer 7 policy enforcement may not occur in policies with wildcarded port ranges in Cilium
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cilium | = >= 1.16.0, < 1.16.4; >= 1.16.0, < 1.16.4 | 1.16.4 | Fixed |
| cilium(Go) | >= 1.16.0, < 1.16.4 | 1.16.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cilium(Go) | >= 1.16.0, < 1.16.4 | 1.16.4 |
| cilium | = >= 1.16.0, < 1.16.4 | No fix listed |
| cilium | >= 1.16.0, < 1.16.4 | 1.16.4 |
References
- https://github.com/cilium/cilium/security/advisories/GHSA-xg58-75qf-9r67 patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/cilium/cilium/pull/35150 patch
- github.com product
- github.com