ADVISORIES

GitHub Advisory Database

GHSA-gc62-j469-9gjm

Rancher Privilege Escalation Vulnerability

Details

In Rancher 1 and 2 through 2.2.3, unprivileged users (if allowed to deploy nodes) can gain admin access to the Rancher management plane because node driver options intentionally allow posting certain data to the cloud. The problem is that a user could choose to post a sensitive file such as /root/.kube/config or /var/lib/rancher/management-state/cred/kubeconfig-system.yaml.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/rancher/rancher
From 2.0.0 before 2.2.4 (fixed in 2.2.4)
Gogithub.com/rancher/rancher
All versions before 1.6.27 (fixed in 1.6.27)

References