GitHub Advisoryadvisory · Go

GHSA-9qq2-xhmc-h9qr Access Control Bypass

MEDIUM Published 2021-06-23 Modified 2022-04-25 Official page ↗
Aliases
CVE-2018-20321
Ecosystem
Go
Packages
github.com/rancher/rancher
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-288, CWE-668
Reviewed
2021-05-12

Affected packages

• Go github.com/rancher/rancher: >= 2.0.0, < 2.1.6 → fixed in 2.1.6

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.

Related

Alias · CVE (1)

  • CVE-2018-20321 An issue was discovered in Rancher 2 through 2.1.5. vulnerability

Weakness · CWE (2)

  • CWE-288 Authentication Bypass Using an Alternate Path or Channel weakness
  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References