Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rancher/rancher
  4. ›
  5. CVE-2023-32194

CVE-2023-32194: Rancher permissions on 'namespaces' in any API group grants 'edit' permissions on namespaces in 'core'

February 8, 2024 (updated October 16, 2024)

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.

References

  • bugzilla.suse.com/show_bug.cgi?id=CVE-2023-32194
  • github.com/advisories/GHSA-c85r-fwc7-45vc
  • github.com/rancher/rancher
  • github.com/rancher/rancher/security/advisories/GHSA-c85r-fwc7-45vc
  • nvd.nist.gov/vuln/detail/CVE-2023-32194

Code Behaviors & Features

Detect and mitigate CVE-2023-32194 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.6.0 before 2.6.14, all versions starting from 2.7.0 before 2.7.10, all versions starting from 2.8.0 before 2.8.2

Fixed versions

  • 2.6.14
  • 2.7.10
  • 2.8.2

Solution

Upgrade to versions 2.6.14, 2.7.10, 2.8.2 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

go/github.com/rancher/rancher/CVE-2023-32194.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.