CVE-2018-20321
highpriority · track · 36OT risk · elevatedEPSS 0.018 · 78 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.2–9
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- Go github.com/rancher/rancher2.0.0+incompatible → 2.1.6+incompatibleosvUSpkg:golang/github.com/rancher/rancher
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-9qq2-xhmc-h9qrAccess Control Bypass2021-06-23ghsa · osvUS
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.
- GO-2022-0644Access Control Bypass in github.com/rancher/rancher2024-08-21vendor · osvUS
Access Control Bypass in github.com/rancher/rancher
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://forums.rancher.com/c/announcementscnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2018-20321cnnvd
- https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11/cnnvd
- https://forums.rancher.com/c/announcementsenisa_euvd
- https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11/enisa_euvd
- https://forums.rancher.com/c/announcementsVendor Advisorynvd
- https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11/MitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan