Live threats

All CVEs / Rancher

CVE-2021-31999Rancher

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
Yes
Published
Jul 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-807
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rancher.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/rancher/rancher ≥ 2.0.0 < 2.4.16 2.4.16 go get github.com/rancher/rancher@v2.4.16
Go github.com/rancher/rancher ≥ 2.5.0 < 2.5.9 2.5.9 go get github.com/rancher/rancher@v2.5.9
Go github.com/rancher/rancher ≥ 2.0.0+incompatible no fixed version —

Per OSV / GitHub Advisories (GHSA-pvxj-25m6-7vqr, GO-2024-2778). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rancherrancher< 2.4.16
rancherrancher≥ 2.5.0 < 2.5.9

Official sources

References

Links published by the sources. Open them with care.