CVE-2024-37307 Cilium leaks sensitive information in cilium-bugtool

High 7.9 Published Updated

Attackers with access to cilium-bugtool output can retrieve sensitive TLS certificates and API keys from specific Cilium configurations.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-37307?

CVE-2024-37307 is a high-severity vulnerability in cilium, published on 13 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Starting in version 1.13.0 and prior to versions 1.13.7, 1.14.12, and 1.15.6, the output of `cilium-bugtool` can contain sensitive data when the tool is run (with the `--envoy-dump` flag set) against Cilium deployments with the Envoy proxy enabled. Users of the TLS inspection, Ingress with TLS termination, Gateway API with TLS termination, and Kafka network policies with API key filtering features are affected. The sensitive data includes the CA certificate, certificate chain, and private key used by Cilium HTTP Network Policies, and when using Ingress/Gateway API and the API keys used in Kafka-related network policy. `cilium-bugtool` is a debugging tool that is typically invoked manually and does not run during the normal operation of a Cilium cluster. This issue has been patched in Cilium v1.15.6, v1.14.12, and v1.13.17. There is no workaround to this issue.

Weakness: CWE-200

Which versions are affected by CVE-2024-37307?

14 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.17, 1.14.12, 1.15.6
github.com/cilium/cilium GoFrom 1.13.01.13.17
github.com/cilium/cilium GoFrom 1.13.01.13.17
github.com/cilium/cilium GoFrom 1.14.01.14.12
github.com/cilium/cilium GoFrom 1.14.01.14.12
github.com/cilium/cilium GoFrom 1.15.01.15.6
8 more packages
github.com/cilium/cilium GoFrom 1.15.01.15.6
cilium BitnamiFrom 1.15.41.15.6
cilium-operator BitnamiFrom 1.15.41.15.6
cilium-proxy BitnamiFrom 1.13.01.13.17, 1.14.12, 1.15.6
hubble BitnamiFrom 1.13.01.13.17, 1.14.12, 1.15.6
hubble-relay BitnamiFrom 1.13.01.15.6
hubble-ui BitnamiFrom 1.13.01.13.17, 1.14.12, 1.15.6
hubble-ui-backend BitnamiFrom 1.13.01.13.17, 1.14.12, 1.15.6

Products include Cilium Cilium.

How do I fix CVE-2024-37307?

Upgrade github.com/cilium/cilium to a fixed version for your release line: 1.13.17, 1.14.12 or 1.15.6.

Is CVE-2024-37307 being exploited?

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

Sources

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

Is CVE-2024-37307 in your software?

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

Check your SBOMs for free