CVE-2021-31999
Rancher Privilege escalation vulnerability via malicious "Connection" header
Record from NVD · Published July 15, 2021
github.com/rancher/rancher/server is fixed in v2.5.9, 2.5.9 and 2.4.16 (Go Modules)
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.
EPSS 1.05% · 65.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/rancher/rancher/server | Go Modules | v2.5.9, 2.5.9, 2.4.16 |
| github.com/rancher/rancher | Go Modules | 2.5.9, 2.4.16 |
| rancher | rancher | 2.5.9, 2.4.16 |
| SUSE Linux Enterprise Server 15 | Rancher | 2.4.16 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rancher | rancher | 0, 2.5.0 |
Timeline
- Jul 15, 2021 CVE Published
- Jul 16, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-31999
vulnetix vdb fixes CVE-2021-31999
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-31999/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart