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

CVE-2021-36775: Rancher's Failure to delete orphaned role bindings does not revoke project level access from group based authentication

April 24, 2024

This vulnerability only affects customers using group based authentication in Rancher versions up to and including 2.4.17, 2.5.11 and 2.6.2.

When removing a Project Role associated to a group from a project, the bindings that grant access to cluster scoped resources for those subjects do not get deleted. This happens due to an incomplete authorization logic check. A user who is a member of an affected group with authenticated access to Rancher could use this to access resources they should no longer have access to. The exposure level will depend on the original permission level granted to the affected project role.

References

  • bugzilla.suse.com/show_bug.cgi?id=1189120
  • github.com/advisories/GHSA-28g7-896h-695v
  • github.com/rancher/rancher
  • github.com/rancher/rancher/security/advisories/GHSA-28g7-896h-695v
  • nvd.nist.gov/vuln/detail/CVE-2021-36775

Code Behaviors & Features

Detect and mitigate CVE-2021-36775 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 before 2.4.18, all versions starting from 2.5.0 before 2.5.12, all versions starting from 2.6.0 before 2.6.3

Fixed versions

  • 2.4.18
  • 2.5.12
  • 2.6.3

Solution

Upgrade to versions 2.4.18, 2.5.12, 2.6.3 or above.

Impact 8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/github.com/rancher/rancher/CVE-2021-36775.yml

Spotted a mistake? Edit the file on GitLab.

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

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