CVE-2018-20321Suse Rancher
High 8.8
- Priority
- 53
- CVSS 3.0
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 10, 2019
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-668
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Rancher.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/rancher/rancher |
≥ 2.0.0 < 2.1.6 |
2.1.6 |
go get github.com/rancher/rancher@v2.1.6 |
| Go | github.com/rancher/rancher |
≥ 2.0.0+incompatible < 2.1.6+incompatible |
2.1.6+incompatible |
go get github.com/rancher/rancher@v2.1.6+incompatible |
Per OSV / GitHub Advisories (GHSA-9qq2-xhmc-h9qr, GO-2022-0644). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| suse | rancher | ≥ 2.0.0 ≤ 2.1.5 |
Official sources
References
Links published by the sources. Open them with care.
- forums.rancher.com Vendor Advisory
- rancher.com Mitigation Vendor Advisory