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.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.4%top 27.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/clastix/capsule-proxy0.2.1GHSA-9cwv-cppx-mqjm
Gogithub.com/clastix/capsule-proxy0.2.1GO-2022-0329

Affected products (as reported)

VendorProductVersions
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

References