CVE-2018-20321
MEDIUM4.2EPSS 0.44%Access Control Bypass
Published: 6/23/2021Modified: 8/21/2024
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.
Affected packages (2)
- Go/github.com/rancher/rancher>= 2.0.0, < 2.1.6
- Go/github.com/rancher/rancher>= 2.0.0+incompatible, < 2.1.6+incompatible
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
References (7)
- ADVISORYhttps://github.com/advisories/GHSA-9qq2-xhmc-h9qr
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-20321
- PATCHhttps://github.com/rancher/rancher
- WEBhttps://forums.rancher.com/c/announcements
- WEBhttps://github.com/rancher/rancher/commit/6ea187fcc2309d5a7a14ed47de5688bf6573f448
- WEBhttps://github.com/rancher/rancher/releases/tag/v2.1.6
- WEBhttps://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11