{"answers":{"affected":"3 open source packages ship an affected version, including github.com/clastix/capsule-proxy. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23652 exists.","fix":"Upgrade github.com/clastix/capsule-proxy to 0.2.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2022-23652 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23652 exists.\n\nAffected packages and fixed versions:\n- github.com/clastix/capsule-proxy (Go): affected all versions; fixed in 0.2.1\n- github.com/clastix/capsule-proxy (Go): affected all versions; fixed in 0.2.1\n- github.com/clastix/capsule-proxy (Go): affected all versions; fixed in 0.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23652/ (Markdown: https://insights.sbomify.com/CVE-2022-23652/index.md)","id":"CVE-2022-23652","markdown":"https://insights.sbomify.com/CVE-2022-23652/index.md","name":"CVE-2022-23652","record":{"aliases":["GHSA-9cwv-cppx-mqjm","GO-2022-0329"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes reverse proxy","requires_auth":"low_privilege","summary":"An authenticated attacker can escalate privileges to cluster-admin via a malicious Connection header in capsule-proxy.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"capsule-proxy","vendor":"clastix"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Privilege escalation using hop-by-hop Connection header","id":"CVE-2022-23652","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"B2 Command Line Tool TOCTOU application key disclosure","id":"CVE-2022-23653"},"packages":[{"ecosystem":"Go","fixed":["0.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/clastix/capsule-proxy","purl":null,"source":"GHSA-9cwv-cppx-mqjm"},{"ecosystem":"Go","fixed":["0.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/clastix/capsule-proxy","purl":"pkg:golang/github.com/clastix/capsule-proxy","source":"GHSA-9cwv-cppx-mqjm"},{"ecosystem":"Go","fixed":["0.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/clastix/capsule-proxy","purl":"pkg:golang/github.com/clastix/capsule-proxy","source":"GO-2022-0329"}],"prev":{"headline":"b2-sdk-python TOCTOU application key disclosure","id":"CVE-2022-23651"},"products":["capsule-proxy"],"published":"2022-02-22","related":[{"cvss_score":9.8,"headline":"Authentication bypass using an empty token in capsule-proxy","id":"CVE-2023-48312","kev_date_added":null,"published":"2023-11-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["clastix"]},"summary":"An authenticated attacker can escalate privileges to cluster-admin via a malicious Connection header in capsule-proxy.","url":"https://insights.sbomify.com/CVE-2022-23652/"}