CVE-2024-47825
CIDR deny policies may not take effect when a more narrow CIDR allow is present
Reported by github_m · Published October 21, 2024
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`.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| hubble-relay | Bitnami | 1.16.0 |
| cilium | cilium | 1.15.10, 1.14.16 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| cilium | cilium | >= 1.15.0, < 1.15.10, >= 1.14.0, < 1.14.16 |
| cilium | cilium | 1.14.0, 1.15.0 |
| chainguard | hubble-ui | 0 |
| chainguard | hubble-ui-backend-fips | 0 |
| chainguard | cilium-1.14 | 0 |
| chainguard | hubble-ui-backend | 0 |
| wolfi | hubble-ui | 0 |
| wolfi | cilium-1.14 | 0 |
| chainguard | cilium-fips-1.15 | 0 |
| cilium | cilium | 1.15.0, 1.14.0 |
| chainguard | cilium-fips-1.14 | 0 |
| chainguard | cilium-1.15 | 0 |
| github.com | cilium/cilium | 1.15.0, 1.14.0 |
| wolfi | cilium-1.15 | 0 |
Timeline
- Oct 21, 2024 CVE Published
- Oct 21, 2024 PoC Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 22, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 3, 2026 Security Advisory (3 in total, the first dated here)
- Jan 3, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47825
vulnetix vdb fixes CVE-2024-47825
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47825/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/cilium/cilium/security/advisories/GHSA-3wwx-63fv-pfq6 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2024-47825 advisory
- https://github.com/advisories/GHSA-3wwx-63fv-pfq6 advisory
- https://github.com/cilium/cilium/commit/02d28d9ac9afcaddd301fae6fb4d6cda8c2d0c45 patch
- https://github.com/cilium/cilium/commit/9c01afb5646af3f0c696421a410dc66c513b6524 patch
- https://github.com/cilium/cilium url