Skip to content
OpenAdvisories
Medium · 4.2 CVE-2018-20321 EUVD-2021-1305GHSA-9qq2-xhmc-h9qrGO-2022-0644

Access Control Bypass

Published Apr 10, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in Rancher 2 through 2.1.5. Any project member with access to the default namespace can mount the netes-default service account in a pod, and then use that pod to execute administrative privileged commands against the k8s cluster. This could be mitigated by isolating the default namespace in a separate project, where only cluster admins can be given permissions to access. As of 2018-12-20, this bug affected ALL clusters created or imported by Rancher.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/rancher/rancher >= 2.0.0, < 2.1.6 2.1.6 GHSA-9qq2-xhmc-h9qr
Go github.com/rancher/rancher >= 2.0.0+incompatible, < 2.1.6+incompatible 2.1.6+incompatible GO-2022-0644

References