Advisory

GHSA-9qq2-xhmc-h9qr

Also known as: CVE-2018-20321, GO-2022-0644

Summary

Access Control Bypass

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-23 17:57 UTC
Modified
2024-08-21 15:41 UTC

Affected packages and fixes

github.com/rancher/rancher

Go · All systems

Affected

  • introduced 2.0.0, fixed 2.1.6 (semver)

Fixed versions

2.1.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences