CVE-2018-20321
HIGH 8.8CVSS 3.0Access 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | suse | ranchercpe: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
- https://forums.rancher.com/c/announcements · Vendor Advisory, WEB
- https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11/ · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-20321 · ADVISORY
- https://github.com/rancher/rancher/commit/6ea187fcc2309d5a7a14ed47de5688bf6573f448 · WEB, FIX
- https://github.com/rancher/rancher · PACKAGE
- https://github.com/rancher/rancher/releases/tag/v2.1.6 · WEB
- https://github.com/advisories/GHSA-9qq2-xhmc-h9qr · ADVISORY
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)