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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.6%top 52.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/clastix/capsule-proxy0.4.6GHSA-fpvw-6m5v-hqfp
Gogithub.com/projectcapsule/capsule-proxy0.4.6GHSA-fpvw-6m5v-hqfp
Gogithub.com/projectcapsule/capsule-proxy0.4.6GO-2023-2351

Affected products (as reported)

VendorProductVersions
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

References