CVE-2021-31999
HIGH 8.8CVSS 3.1Rancher Privilege escalation vulnerability via malicious "Connection" header
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
- 15 Jul 2021
- Last modified
- 10 Sep 2026
- Assigned by
- meissner@suse.de
- NVD status
- Modified
- Weakness
- CWE-807
- Also known as
- GHSA-pvxj-25m6-7vqrGO-2024-2778
- Sources
- NVDJSONOSV GHSA-pvxj-25m6-7vqrJSONOSV GO-2024-2778JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | meissner@suse.de (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rancher | ranchercpe:2.3:a:rancher:rancher:*:*:*:*:*:*:*:* |
< 2.4.16 | 2.4.16 |
| NVD | rancher | ranchercpe:2.3:a:rancher:rancher:*:*:*:*:*:*:*:* |
>= 2.5.0, < 2.5.9 | 2.5.9 |
| OSV | Go | github.com/rancher/rancher | >= 2.0.0, < 2.4.16 | 2.4.16 |
| OSV | Go | github.com/rancher/rancher | >= 2.5.0, < 2.5.9 | 2.5.9 |
| OSV | Go | github.com/rancher/rancher | >= 2.0.0+incompatible |
References
- https://bugzilla.suse.com/show_bug.cgi?id=1187084 · Issue Tracking, Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-31999 · ADVISORY
- https://github.com/rancher/rancher · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-2778 · WEB
- https://github.com/advisories/GHSA-pvxj-25m6-7vqr · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Jul 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Apr 2024)