CVE-2024-42488 Cilium agent's race condition may lead to policy bypass for Host Firewall policy

Medium 6.8 Published Updated

A race condition in Cilium agent allows attackers to bypass Host Firewall policies by causing the agent to ignore node labels.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42488?

CVE-2024-42488 is a medium-severity vulnerability in cilium, published on 15 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.14.14 and 1.15.8, a race condition in the Cilium agent can cause the agent to ignore labels that should be applied to a node. This could in turn cause CiliumClusterwideNetworkPolicies intended for nodes with the ignored label to not apply, leading to policy bypass. This issue has been patched in Cilium v1.14.14 and v1.15.8 As the underlying issue depends on a race condition, users unable to upgrade can restart the Cilium agent on affected nodes until the affected policies are confirmed to be working as expected.

Weakness: CWE-362

Which versions are affected by CVE-2024-42488?

8 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 GoAll versions1.14.14, 1.15.8
github.com/cilium/cilium GoAll versions1.14.14
github.com/cilium/cilium GoAll versions1.14.14
github.com/cilium/cilium GoFrom 1.15.01.15.8
github.com/cilium/cilium GoFrom 1.15.01.15.8
cilium BitnamiFrom 1.15.41.16.0
2 more packages
cilium-operator BitnamiFrom 1.15.41.16.0
hubble-relay BitnamiAll versions1.16.0

Products include Cilium Cilium.

How do I fix CVE-2024-42488?

Upgrade github.com/cilium/cilium to a fixed version for your release line: 1.14.14 or 1.15.8.

Is CVE-2024-42488 being exploited?

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

Sources

Also known as BIT-cilium-2024-42488, BIT-cilium-operator-2024-42488, BIT-hubble-relay-2024-42488, GHSA-q7w8-72mr-vpgw, GO-2024-3072.

Is CVE-2024-42488 in your software?

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

Check your SBOMs for free