{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-20321","id":"CVE-2018-20321","title":"Access Control Bypass","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. A","descriptionLong":"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.","published":"2019-04-10T13:59:44.000Z","updated":"2026-10-24T10:30:35.909954578Z","reserved":"2018-12-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"},"metrics":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","ranges":[">=2.0.0 <2.1.6",">=2.0.0+incompatible <2.1.6+incompatible"],"fixed":["2.1.6","2.1.6+incompatible"],"advisory":"GHSA-9qq2-xhmc-h9qr"}],"cwes":["CWE-668","CWE-288"],"aliases":["GHSA-9qq2-xhmc-h9qr","GO-2022-0644"],"references":[{"url":"https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11/","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory"]},{"url":"https://forums.rancher.com/c/announcements","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20321","tags":["advisory"]},{"url":"https://github.com/rancher/rancher/commit/6ea187fcc2309d5a7a14ed47de5688bf6573f448","tags":["web","fix"]},{"url":"https://github.com/rancher/rancher","tags":["package"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.1.6","tags":["web"]},{"url":"https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9qq2-xhmc-h9qr","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01766,"epssPercentile":0.78528,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-20321","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20321","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-20321","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9qq2-xhmc-h9qr","ok":true,"note":"GHSA-9qq2-xhmc-h9qr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-20321","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}