Security mailing lists by PureSourceCode

CVE-2018-20321

HIGH 8.8CVSS 3.0

Access Control Bypass

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.

Published
10 Apr 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-288CWE-668
Also known as
GHSA-9qq2-xhmc-h9qrGO-2022-0644
Sources
NVDJSONOSV GHSA-9qq2-xhmc-h9qrJSONOSV GO-2022-0644JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.0 AV:N/AC:L/Au:S/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD suse rancher
cpe:2.3:a:suse:rancher:*:*:*:*:*:*:*:*
>= 2.0.0, <= 2.1.5
OSV Go github.com/rancher/rancher >= 2.0.0, < 2.1.6 2.1.6
OSV Go github.com/rancher/rancher >= 2.0.0+incompatible, < 2.1.6+incompatible 2.1.6+incompatible

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 10 Apr 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.