CVE-2022-23652 Privilege escalation using hop-by-hop Connection header

High 8.8 Published Updated

An authenticated attacker can escalate privileges to cluster-admin via a malicious Connection header in capsule-proxy.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-23652?

CVE-2022-23652 is a high-severity vulnerability in clastix capsule-proxy, published on 22 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

capsule-proxy is a reverse proxy for Capsule Operator which provides multi-tenancy in Kubernetes. In versions prior to 0.2.1 an attacker with a proper authentication mechanism may use a malicious `Connection` header to start a privilege escalation attack towards the Kubernetes API Server. This vulnerability allows for an exploit of the `cluster-admin` Role bound to `capsule-proxy`. There are no known workarounds for this issue.

Weakness: CWE-287

Which versions are affected by CVE-2022-23652?

3 open source packages ship an affected version, including github.com/clastix/capsule-proxy. It affects 1 product.

PackageAffectedFixed in
github.com/clastix/capsule-proxy GoAll versions0.2.1
github.com/clastix/capsule-proxy GoAll versions0.2.1
github.com/clastix/capsule-proxy GoAll versions0.2.1

Products include Clastix Capsule-Proxy.

How do I fix CVE-2022-23652?

Upgrade github.com/clastix/capsule-proxy to 0.2.1 or later.

Is CVE-2022-23652 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23652 exists.

Sources

Also known as GHSA-9cwv-cppx-mqjm, GO-2022-0329.

Is CVE-2022-23652 in your software?

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

Check your SBOMs for free