Vulnerability · Published Nov 24, 2023 · Assigned by GitHub_M
CVE-2023-48312Authentication bypass using an empty token in capsule-proxy
Critical 9.8
In plain English
A critical-severity improper authentication in capsule-proxy from projectcapsule. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/clastix/capsule-proxy | 0.4.6 | GHSA-fpvw-6m5v-hqfp |
| Go | github.com/projectcapsule/capsule-proxy | 0.4.6 | GHSA-fpvw-6m5v-hqfp |
| Go | github.com/projectcapsule/capsule-proxy | 0.4.6 | GO-2023-2351 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| projectcapsule | capsule-proxy | < 0.4.6 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H