CVE-2023-32194
JSON

8.6high

Rancher permissions on 'namespaces' in any API group grants 'edit' permissions on namespaces in 'core'

Severity
8.6high CVSS:4.0 by suse
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
suse
Also known as
GHSA-c85r-fwc7-45vcGO-2024-2535

Description

A vulnerability has been identified when granting a create or * global role for a resource type of "namespaces"; no matter the API group, the subject will receive * permissions for core namespaces. This can lead to someone being capable of accessing, creating, updating, or deleting a namespace in the project.

Affected

Product or packageVersionsReported by
github.com/rancher/rancherfrom 2.6.0 before 2.6.14, from 2.7.0 before 2.7.10, from 2.8.0 before 2.8.2CVE List
rancher rancherfrom 2.6.0 before 2.6.14, from 2.7.0 before 2.7.10, from 2.8.0 before 2.8.2CVE List
github.com/rancher/rancher (Go)from 2.6.0 before 2.6.14, from 2.7.0 before 2.7.10, from 2.8.0 before 2.8.2, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

suse7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
suse8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHub7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-269

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A vulnerability has been identified when granting a create or * global role for a resource type of "namespaces"; no matter the API group, the subject will receive * permissions for core namespaces. This can lead to someone being capable of accessing, creating, updating, or deleting a namespace in the project.

GitHub Advisory Database
Impact

A vulnerability has been identified when granting a create or * global role for a resource type of "namespaces"; no matter the API group, the subject will receive * permissions for core namespaces. This can lead to someone being capable of accessing, creating, updating, or deleting a namespace in the project. This includes reading or updating a namespace in the project so that it is available in other projects in which the user has the "manage-namespaces" permission or updating another namespace in which the user has normal "update" permissions to be moved into the project.

The expected behavior is to not be able to create, update, or delete a namespace in the project or move another namespace into the project since the user doesn't have any permissions on namespaces in the core API group.

Moving a namespace to another project could lead to leakage of secrets, in case the targeted project has secrets. And also can lead to the namespace being able to abuse the resource quotas of the targeted project.

Patches

Patched versions include releases 2.6.14, 2.7.10 and 2.8.2.

Workarounds

There is no direct mitigation besides updating Rancher to a patched version.

References

If you have any questions or comments about this advisory:

Go Vulnerability Database

Rancher permissions on 'namespaces' in any API group grants 'edit' permissions on namespaces in 'core' in github.com/rancher/rancher.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/rancher/rancher from v2.6.0 before v2.6.14, from v2.7.0 before v2.7.10, from v2.8.0 before v2.8.2.

NVD (es)

Se ha identificado una vulnerabilidad al otorgar un rol de creación o * global para un tipo de recurso de "espacios de nombres"; sin importar el grupo de API, el sujeto recibirá * permisos para espacios de nombres principales. Esto puede llevar a que alguien pueda acceder, crear, actualizar o eliminar un espacio de nombres en el proyecto.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-32194 changed 2024-10-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-c85r-fwc7-45vc changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2535 changed 2026-07-02CC-BY-4.0
NVDCVE-2023-32194 changed 2026-06-17Public domain