{"schemaVersion":3,"id":"CVE-2018-20321","aliases":["GHSA-9qq2-xhmc-h9qr","GO-2022-0644"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-04-10T13:59:44.000Z","modified":"2024-08-05T11:58:18.909Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":4.1,"impact":4.2,"computed":true}]},"epss":{"probability":0.01766,"percentile":0.7771,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01766},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01474,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01766,"percentile":0.7771}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01474,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01766,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01766,"percentile":0.7771}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"github.com/rancher","product":"rancher","name":"github.com/rancher/rancher","label":"rancher","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/rancher/rancher","purlType":"golang","versions":[{"text":"≥ 2.0.0, < 2.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0+incompatible, < 2.1.6+incompatible","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.1.6 | ≥ 2.0.0+incompatible, < 2.1.6+incompatible","eol":null,"hubHref":null},{"vendor":"suse","product":"rancher","name":"rancher","label":"rancher","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, ≤ 2.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, ≤ 2.1.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"rancher","label":"Rancher","category":"server-app"}},"hubHref":"/vendor/suse/rancher"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11/","label":"rancher.com/blog/…","hostname":"rancher.com","tags":["X Refsource CONFIRM","Mitigation","Vendor Advisory"]},{"url":"https://forums.rancher.com/c/announcements","label":"forums.rancher.com/c/announcements","hostname":"forums.rancher.com","tags":["X Refsource CONFIRM","Vendor Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20321","label":"nvd.nist.gov/vuln/detail/CVE-2018-20321","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rancher/rancher/commit/6ea187fcc2309d5a7a14ed47de5688bf6573f448","label":"github.com/rancher/rancher/commit/6ea187fcc2309d5a7a14ed47de5688bf6573f448","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/rancher/rancher","label":"github.com/rancher/rancher","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rancher/rancher/releases/tag/v2.1.6","label":"github.com/rancher/rancher/releases/tag/v2.1.6","hostname":"github.com","tags":["WEB"]},{"url":"https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11","label":"rancher.com/blog/…","hostname":"rancher.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-9qq2-xhmc-h9qr","label":"github.com/advisories/GHSA-9qq2-xhmc-h9qr","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-04-10T13:59:44.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:58:18.909Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T07:04:02.661Z","stale":false,"partial":false}}