{"schemaVersion":3,"id":"CVE-2021-31999","aliases":["GHSA-pvxj-25m6-7vqr","GO-2024-2778","CGA-4crm-3cvp-w6cr","CGA-5687-pp8h-v8w5","CGA-77hq-pvvp-4pgr","CGA-7r3q-838v-pwv4","CGA-c8vj-4cjx-9pp3","CGA-f94m-6v5q-mc4x","CGA-jf38-gwjv-grg2","CGA-rvq6-7prr-c3q4"],"status":"published","duplicateOf":null,"title":null,"description":"A Reliance on Untrusted Inputs in a Security Decision vulnerability in Rancher allows users in the cluster to act as others users in the cluster by forging the \"Impersonate-User\" or \"Impersonate-Group\" headers. This issue affects: Rancher versions prior to 2.5.9. Rancher versions prior to 2.4.16.","dates":{"published":"2021-07-15T08:55:18.646Z","modified":"2024-09-17T02:26:40.038Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/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":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01052,"percentile":0.63802,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01052},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01052,"percentile":0.63802}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01052,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01052,"percentile":0.63802}]},"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-807","name":"Reliance on Untrusted Inputs in a Security Decision","description":"The product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/807.html"}],"affected":[{"vendor":"chainguard","product":"harvester","name":"harvester","label":"harvester","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-fips","name":"harvester-fips","label":"harvester-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-fips-webhook","name":"harvester-fips-webhook","label":"harvester-fips-webhook","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-fips-webhook","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"harvester-webhook","name":"harvester-webhook","label":"harvester-webhook","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/harvester-webhook","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"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.4.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.5.0, < 2.5.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0+incompatible","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.4.16 | ≥ 2.5.0, < 2.5.9 | ≥ 2.0.0+incompatible (No fix recorded)","eol":null,"hubHref":null},{"vendor":"rancher","product":"rancher","name":"rancher","label":"rancher","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Rancher, < 2.5.9","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.5.0, < 2.5.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ Rancher, < 2.5.9 | < 2.4.16 | ≥ 2.5.0, < 2.5.9","eol":null,"hubHref":"/vendor/rancher/rancher"},{"vendor":"rancher","product":"suse linux enterprise server 15","name":"SUSE Linux Enterprise Server 15","label":"suse linux enterprise server 15","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Rancher, < 2.4.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ Rancher, < 2.4.16","eol":null,"hubHref":"/vendor/rancher/suse_linux_enterprise_server_15"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1187084","label":"bugzilla.suse.com/show_bug.cgi?id=1187084","hostname":"bugzilla.suse.com","tags":["X Refsource CONFIRM","WEB","REPORT","Issue Tracking","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31999","label":"nvd.nist.gov/vuln/detail/CVE-2021-31999","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rancher/rancher","label":"github.com/rancher/rancher","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2778","label":"pkg.go.dev/vuln/GO-2024-2778","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-pvxj-25m6-7vqr","label":"github.com/advisories/GHSA-pvxj-25m6-7vqr","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-9Q35-52XF-4R6G"]},"timeline":[{"kind":"published","date":"2021-07-15T08:55:18.646Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T02:26:40.038Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:40:29.224Z","stale":false,"partial":false}}