Vulnerability · Published Feb 22, 2022 · Assigned by GitHub_M
CVE-2022-23652Privilege escalation using hop-by-hop Connection header
High 8.8
In plain English
A high-severity improper authentication in capsule-proxy from clastix. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/clastix/capsule-proxy | 0.2.1 | GHSA-9cwv-cppx-mqjm |
| Go | github.com/clastix/capsule-proxy | 0.2.1 | GO-2022-0329 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| clastix | capsule-proxy | < 0.2.1 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H