CVE-2023-46254

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-46254
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46254.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-46254
Aliases
Related
Published
2023-11-06T19:15:09Z
Modified
2025-01-15T04:59:49.817772Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

capsule-proxy is a reverse proxy for Capsule kubernetes multi-tenancy framework. A bug in the RoleBinding reflector used by capsule-proxy gives ServiceAccount tenant owners the right to list Namespaces of other tenants backed by the same owner kind and name. For example consider two tenants solar and wind. Tenant solar, owned by a ServiceAccount named tenant-owner in the Namespace solar. Tenant wind, owned by a ServiceAccount named tenant-owner in the Namespace wind. The Tenant owner solar would be able to list the namespaces of the Tenant wind and vice-versa, although this is not correct. The bug introduces an exfiltration vulnerability since allows the listing of Namespace resources of other Tenants, although just in some specific conditions: 1. capsule-proxy runs with the --disable-caching=false (default value: false) and 2. Tenant owners are ServiceAccount, with the same resource name, but in different Namespaces. This vulnerability doesn't allow any privilege escalation on the outer tenant Namespace-scoped resources, since the Kubernetes RBAC is enforcing this. This issue has been addressed in version 0.4.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References

Affected packages

Git / github.com/clastix/capsule

Affected ranges

Type
GIT
Repo
https://github.com/clastix/capsule
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/clastix/capsule-proxy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/projectcapsule/capsule-proxy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

helm-v0.*

helm-v0.3.2
helm-v0.3.3
helm-v0.3.4
helm-v0.3.5
helm-v0.3.6
helm-v0.3.7
helm-v0.4.0
helm-v0.4.1
helm-v0.4.2
helm-v0.4.3
helm-v0.4.9

v0.*

v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.1.0
v0.1.1
v0.2.0
v0.2.1
v0.3.0
v0.3.0-rc1
v0.3.0-rc2
v0.3.1
v0.3.1-rc0
v0.3.2
v0.3.3
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4