Skip to content
OpenAdvisories
Medium · 4.0 CVE-2024-47825 BIT-cilium-2024-47825BIT-cilium-operator-2024-47825BIT-hubble-relay-2024-47825EUVD-2024-2923GHSA-3wwx-63fv-pfq6GO-2024-3208

CIDR deny policies may not take effect when a more narrow CIDR allow is present

Published Oct 21, 2024 · Updated Oct 21, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
cilium cilium >= 1.15.0, < 1.15.10, >= 1.14.0, < 1.14.16 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1
SLES 15 SP5 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 govulncheck-vulndb 0.0.20241104T154416-5.1 openSUSE-SU-2024:0350-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241030T212825-1.1 openSUSE-SU-2024:14447-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1
openSUSE Leap 15.5 govulncheck-vulndb 0.0.20241030T212825-150000.1.9.1 SUSE-SU-2024:3911-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling hubble-ui +1 0.13.1-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cilium/cilium >= 1.15.0, < 1.15.10 1.15.10 GHSA-3wwx-63fv-pfq6
Go github.com/cilium/cilium >= 1.14.0, < 1.14.16 1.14.16 GHSA-3wwx-63fv-pfq6
Go github.com/cilium/cilium >= 1.14.0, < 1.14.16 · >= 1.15.0, < 1.15.10 1.14.16, 1.15.10 GO-2024-3208

Advisories 3

References