CVE-2023-30851 Potential HTTP policy bypass when using header rules in Cilium

Low 2.6 Published Updated

Attackers can bypass HTTP policies in Cilium when specific multi-endpoint allow-all rules are configured, requiring an upgrade to patched versions.

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-2023-30851?

CVE-2023-30851 is a low-severity vulnerability in cilium, published on 25 May 2023. 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. This issue only impacts users who have a HTTP policy that applies to multiple `toEndpoints` AND have an allow-all rule in place that affects only one of those endpoints. In such cases, a wildcard rule will be appended to the set of HTTP rules, which could cause bypass of HTTP policies. This issue has been patched in Cilium 1.11.16, 1.12.9, and 1.13.2.

Weakness: CWE-693

Which versions are affected by CVE-2023-30851?

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 GoAll versions1.11.16, 1.12.9, 1.13.2
github.com/cilium/cilium GoAll versions1.11.16
github.com/cilium/cilium GoAll versions1.11.16
github.com/cilium/cilium GoFrom 1.12.01.12.9
github.com/cilium/cilium GoFrom 1.12.01.12.9
github.com/cilium/cilium GoFrom 1.13.01.13.2
8 more packages
github.com/cilium/cilium GoFrom 1.13.01.13.2
cilium BitnamiAll versions1.11.16, 1.12.9, 1.13.2
cilium-operator BitnamiAll versions1.11.16, 1.12.9, 1.13.2
cilium-proxy BitnamiAll versions1.11.16, 1.12.9, 1.13.2
hubble BitnamiAll versions1.11.16, 1.12.9, 1.13.2
hubble-relay BitnamiAll versions1.11.16, 1.12.9, 1.13.2
hubble-ui BitnamiAll versions1.11.16, 1.12.9, 1.13.2
hubble-ui-backend BitnamiAll versions1.11.16, 1.12.9, 1.13.2

Products include Cilium Cilium.

How do I fix CVE-2023-30851?

Upgrade github.com/cilium/cilium to a fixed version for your release line: 1.11.16, 1.12.9 or 1.13.2.

Is CVE-2023-30851 being exploited?

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

Sources

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

Is CVE-2023-30851 in your software?

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

Check your SBOMs for free