CVE-2024-47825
MEDIUM4.0EPSS 0.30%CIDR deny policies may not take effect when a more narrow CIDR allow is present
Description
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Starting in version 1.14.0 and prior to versions 1.14.16 and 1.15.10, a policy rule denying a prefix that is broader than `/32` may be ignored if there is a policy rule referencing a more narrow prefix (`CIDRSet` or `toFQDN`) and this narrower policy rule specifies either `enableDefaultDeny: false` or `- toEntities: all`. Note that a rule specifying `toEntities: world` or `toEntities: 0.0.0.0/0` is insufficient, it must be to entity `all`.This issue has been patched in Cilium v1.14.16 and v1.15.10. As this issue only affects policies using `enableDefaultDeny: false` or that set `toEntities` to `all`, some workarounds are available. For users with policies using `enableDefaultDeny: false`, remove this configuration option and explicitly define any allow rules required. For users with egress policies that explicitly specify `toEntities: all`, use `toEntities: world`.
Affected packages (5)
- Bitnami/cilium>= 1.15.4, < 1.16.0
- Bitnami/cilium-operator>= 1.15.4, < 1.16.0
- Bitnami/hubble-relay>= 1.14.0, < 1.16.0
- Go/github.com/cilium/cilium>= 1.15.0, < 1.15.10
- Go/github.com/cilium/cilium>= 1.14.0, < 1.14.16, >= 1.15.0, < 1.15.10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-47825
- PATCHhttps://github.com/cilium/cilium
- WEBhttps://github.com/cilium/cilium/commit/02d28d9ac9afcaddd301fae6fb4d6cda8c2d0c45
- WEBhttps://github.com/cilium/cilium/commit/9c01afb5646af3f0c696421a410dc66c513b6524
- WEBhttps://github.com/cilium/cilium/security/advisories/GHSA-3wwx-63fv-pfq6