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.4Details
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.4Fix
go get github.com/rancher/rancher@v2.2.4Go/github.com/rancher/rancher
Introduced in:
0Fixed in: 1.6.27Fix
go get github.com/rancher/rancher@v1.6.27References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/rancher/rancher"]}'