CVE-2021-31999Rancher
High 8.8
Follow: this CVE · Rancher · Rancher We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Rancher.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rancher | rancher | < 2.4.16 |
| rancher | rancher | ≥ 2.5.0 < 2.5.9 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.suse.com Issue Tracking Release Notes Third Party Advisory