CVE-2018-20321
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.
How to fix
- github.com/rancher/rancher2.1.6, 2.1.6+incompatible or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| suse rancher | 2.0.0 ≤ v ≤ 2.1.5 | — |
| github.com/rancher/rancherGo | 2.0.0 ≤ v < 2.1.6, 2.0.0+incompatible ≤ v < 2.1.6+incompatible | 2.1.6, 2.1.6+incompatible |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.