VDB

CVE-2021-31999

CVE-2021-31999 PUBLISHED CVSS 6.5 MEDIUM

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.

PackageEcosystemFixed in
github.com/rancher/rancher/serverGo Modulesv2.5.9, 2.5.9, 2.4.16
github.com/rancher/rancherGo Modules2.5.9, 2.4.16
rancherrancher2.5.9, 2.4.16
SUSE Linux Enterprise Server 15Rancher2.4.16

Risk scores

CVSS 2.0
6.5
EPSS Score
1.05%
65.1th percentile

Affected products

VendorProductVersions
rancherrancher0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›