CVE-2023-34242 Cilium vulnerable to information leakage via incorrect ReferenceGrant handling

Low 3.4 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2023-34242?

CVE-2023-34242 is a low-severity vulnerability in cilium, published on 15 Jun 2023.

Official description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to version 1.13.4, when Gateway API is enabled in Cilium, the absence of a check on the namespace in which a ReferenceGrant is created could result in Cilium unintentionally gaining visibility of secrets (including certificates) and services across namespaces. An attacker on an affected cluster can leverage this issue to use cluster secrets that should not be visible to them, or communicate with services that they should not have access to. Gateway API functionality is disabled by default. This vulnerability is fixed in Cilium release 1.13.4. As a workaround, restrict the creation of `ReferenceGrant` resources to admin users by using Kubernetes RBAC.

Weakness: CWE-200

Which versions are affected by CVE-2023-34242?

10 open source packages ship an affected version, including github.com/cilium/cilium, cilium and cilium-operator. It affects 1 product.

PackageAffectedFixed in
github.com/cilium/cilium GoFrom 1.13.01.13.4
github.com/cilium/cilium GoFrom 1.13.01.13.4
github.com/cilium/cilium GoFrom 1.13.01.13.4
cilium BitnamiAll versions1.13.4
cilium-operator BitnamiAll versions1.13.4
cilium-proxy BitnamiAll versions1.13.4
4 more packages
hubble BitnamiAll versions1.13.4
hubble-relay BitnamiAll versions1.13.4
hubble-ui BitnamiAll versions1.13.4
hubble-ui-backend BitnamiAll versions1.13.4

Products include Cilium Cilium.

How do I fix CVE-2023-34242?

Upgrade github.com/cilium/cilium to 1.13.4 or later.

Is CVE-2023-34242 being exploited?

There is no known exploitation of CVE-2023-34242 in the wild and no public exploit code.

Sources

Also known as BIT-cilium-2023-34242, BIT-cilium-operator-2023-34242, BIT-cilium-proxy-2023-34242, BIT-hubble-2023-34242, BIT-hubble-relay-2023-34242, BIT-hubble-ui-2023-34242 and 3 more.

Is CVE-2023-34242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free