VDB
Sign up
HIGH8.8

GHSA-gc62-j469-9gjm

Rancher Privilege Escalation Vulnerability

Quick fix

GHSA-gc62-j469-9gjm — github.com/rancher/rancher: upgrade to the fixed version with the command below.

go get github.com/rancher/rancher@v2.2.4

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/rancher/rancher
Introduced in: 2.0.0Fixed in: 2.2.4
Fixgo get github.com/rancher/rancher@v2.2.4
Go/github.com/rancher/rancher
Introduced in: 0Fixed in: 1.6.27
Fixgo get github.com/rancher/rancher@v1.6.27

References