{"id":"CVE-2023-48312","published":"2023-11-24T17:12:39Z","modified":"2024-08-02T21:23:39Z","title":"Authentication bypass using an empty token in capsule-proxy","vendor":"projectcapsule","product":"capsule-proxy","tier":"tail","description":{"text":"capsule-proxy is a reverse proxy for the capsule operator project. Affected versions are subject to a privilege escalation vulnerability which is based on a missing check if the user is authenticated based on the `TokenReview` result. All the clusters running with the `anonymous-auth` Kubernetes API Server setting disable (set to `false`) are affected since it would be possible to bypass the token review mechanism, interacting with the upper Kubernetes API Server. This privilege escalation cannot be exploited if you're relying only on client certificates (SSL/TLS). This vulnerability has been addressed in version 0.4.6. Users are advised to upgrade.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00574,"percentile":0.48278,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/projectcapsule/capsule-proxy/security/advisories/GHSA-fpvw-6m5v-hqfp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/projectcapsule/capsule-proxy/commit/472404f7006a4152e4eec76dee07324dd1e6e823","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":9.66},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"projectcapsule","affectedVersions":[{"vendor":"projectcapsule","product":"capsule-proxy","versions":["< 0.4.6"]}],"affected":[{"ecosystem":"Go","package":"github.com/projectcapsule/capsule-proxy","vulnerableRanges":["<0.4.6"],"patched":["0.4.6"],"from":["GHSA-fpvw-6m5v-hqfp","GO-2023-2351"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/clastix/capsule-proxy","vulnerableRanges":["<0.4.6"],"patched":["0.4.6"],"from":["GHSA-fpvw-6m5v-hqfp"],"provenance":"source"}],"summary":{"text":"An authentication bypass in capsule-proxy, the reverse proxy component of the Capsule operator project, stems from a missing check of whether the user was authenticated based on the TokenReview result. An unauthenticated remote attacker with network access, requiring no credentials or user interaction, can exploit it against clusters where the Kubernetes API Server's anonymous-auth setting is disabled (set to false), gaining privilege escalation by interacting with the upstream Kubernetes API Server; deployments relying only on client certificates (SSL/TLS) are not exploitable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:04Z"},"euvd":{"id":"EUVD-2023-2961","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-46254","published":"2023-11-06","fixed":"0.4.5","kev":false,"link":{"from":"CVE-2023-46254","to":"CVE-2023-48312","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/projectcapsule/capsule-proxy","fromFixed":"0.4.5","toFixed":"0.4.6","daysApart":18},{"kind":"similar","provenance":"machine","score":0.27,"basis":"same product + description similarity"}]}},{"cve":"CVE-2023-48312","published":"2023-11-24","fixed":"0.4.6","kev":false}],"package":"Go:github.com/projectcapsule/capsule-proxy"}}