GitHub Advisoryadvisory · Go
GHSA-8vhc-hwhc-cpj4 Rancher users retain access after moving namespaces into projects they don't have access to
HIGH
Official page ↗
- Aliases
- CVE-2020-10676
- Ecosystem
- Go
- Packages
- github.com/rancher/rancher
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-863
- Reviewed
- 2023-06-06
Affected packages
• Go github.com/rancher/rancher: >= 2.6.0, < 2.6.13 → fixed in 2.6.13
• Go github.com/rancher/rancher: >= 2.7.0, < 2.7.4 → fixed in 2.7.4
Description
Impact
A vulnerability was identified in which users with update privileges on a namespace, can move that namespace into a project they don't have access to. After 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.
User with roles `Project Owner` and `Project Member` on the source project can exploit this vulnerability; however, this would also apply to custom roles with similar privileges.
The patched version include an improved RBAC mechanism, which checks if the user has the correct permissions before the namespace move takes place.
Patches
Patched versions include releases `2.6.13`, `2.7.4` and later versions.
Workarounds
There is no direct mitigation besides updating Rancher to a patched version.
For more information
If you have any questions or comments about this advisory:
• Reach out to the SUSE Rancher Security team for security related inquiries.
• Open an issue in the Rancher repository.
• Verify with our support matrix and product support lifecycle.
Related
Alias · CVE (1)
- CVE-2020-10676 In Rancher 2.x before 2.6.13 and 2.7.x before 2.7.4, an incorrectly applied authorization check allows users who have certain access to a… vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://github.com/rancher/rancher/security/advisories/GHSA-8vhc-hwhc-cpj4 web
- https://nvd.nist.gov/vuln/detail/CVE-2020-10676 advisory
- https://forums.rancher.com/c/announcements web
- https://github.com/advisories/GHSA-8vhc-hwhc-cpj4 advisory
- https://github.com/rancher/rancher package
- https://github.com/rancher/rancher/releases/tag/v2.6.13 web
- https://github.com/rancher/rancher/releases/tag/v2.7.4 web