Skip to content
OpenAdvisories
High · 8.8 CVE-2019-12274 EUVD-2022-3935GHSA-gc62-j469-9gjmGO-2023-1991

Rancher Privilege Escalation Vulnerability

Published Jun 6, 2019 · Updated Aug 4, 2024 · Assigned by mitre

Description

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

EcosystemPackageAffectedFixedRecord
Go github.com/rancher/rancher >= 2.0.0, < 2.2.4 2.2.4 GHSA-gc62-j469-9gjm
Go github.com/rancher/rancher < 1.6.27 1.6.27 GHSA-gc62-j469-9gjm
Go github.com/rancher/rancher < 1.6.27 · >= 2.0.0+incompatible, < 2.2.4+incompatible 1.6.27, 2.2.4+incompatible GO-2023-1991

References