SCA: security update for github.com/projectcapsule/capsule, github.com/projectcapsule/capsule-proxy (GHSA-6758-979h-249x)

medium Tenable Self-Hosted Container Security Plugin ID 411266

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2023-46254)

See Also

https://github.com/advisories/GHSA-6758-979h-249x

Plugin Details

Severity: Medium

ID: 411266

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS Score Source: CVE-2023-46254

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/7/2023

Vulnerability Publication Date: 11/6/2023

Reference Information

CVE: CVE-2023-46254

cwe: CWE-200