Improper Preservation of Permissions Affecting github.com/rancher/rancher/pkg/controllers/managementuser/rbac package, versions >=2.6.0 <2.6.13>=2.7.0 <2.7.4


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMRANCHERRANCHERPKGCONTROLLERSMANAGEMENTUSERRBAC-5666387
  • published6 Jun 2023
  • disclosed6 Jun 2023
  • creditUnknown

Introduced: 6 Jun 2023

CVE-2020-10676  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/rancher/pkg/controllers/managementuser/rbac to version 2.6.13, 2.7.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Preservation of Permissions when users with update privileges on a namespace, can move that namespace into a project they don't have access to. Once the namespace transfer is completed, their previous permissions are still preserved, which enables them to gain access to project-specific resources (such as project secrets). In addition, resources in the namespace will now count toward the quota limit of the new project, potentially causing availability issues.

Note: Users with Project Owner and Project Member roles on the source project can exploit this vulnerability. However, this would also apply to custom roles with similar privileges.

CVSS Scores

version 3.1