{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31999","id":"CVE-2021-31999","title":"Rancher: Privilege escalation vulnerability via malicious Connection header","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.","descriptionLong":"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.","published":"2021-07-15T08:55:18.646Z","updated":"2026-10-24T10:30:34.080132078Z","reserved":"2021-05-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"suse","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"suse"},"metrics":[{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"suse"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"suse.de"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Rancher","Rancher SUSE Linux Enterprise Server 15"],"affectedProducts":[{"vendor":"Rancher","product":"Rancher","defaultStatus":null,"versions":[{"lessThan":"2.5.9","status":"affected","version":"Rancher","versionType":"custom"}],"platforms":[]},{"vendor":"Rancher","product":"SUSE Linux Enterprise Server 15","defaultStatus":null,"versions":[{"lessThan":"2.4.16","status":"affected","version":"Rancher","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","ranges":[">=2.0.0 <2.4.16",">=2.5.0 <2.5.9",">=2.0.0+incompatible"],"fixed":["2.4.16","2.5.9"],"advisory":"GHSA-pvxj-25m6-7vqr"}],"cwes":["CWE-807"],"aliases":["GHSA-pvxj-25m6-7vqr","GO-2024-2778"],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1187084","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Release Notes","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31999","tags":["advisory"]},{"url":"https://github.com/rancher/rancher","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2778","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pvxj-25m6-7vqr","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01052,"epssPercentile":0.65037,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31999","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31999","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31999","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pvxj-25m6-7vqr","ok":true,"note":"GHSA-pvxj-25m6-7vqr"},{"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-2021-31999","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}