Skip to content

CVE-2021-31999 Rancher: Privilege escalation vulnerability via malicious Connection header

HighCVSS 8.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

3 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
rancher github.com/rancher/rancher(Go) >= 2.0.0+incompatible; >= 2.0.0, < 2.4.16; >= 2.5.0, < 2.5.9 2.4.16, 2.5.9 Partially fixed
rancher github.com/rancher/rancher < 2.4.16; >= 2.5.0, < 2.5.9; >= Rancher, < 2.5.9 2.4.16, 2.5.9 Fixed
rancher SUSE Linux Enterprise Server 15 >= Rancher, < 2.4.16 2.4.16 Fixed

Affected products

ProductAffected versionsFixed in
rancher github.com/rancher/rancher(Go) >= 2.0.0, < 2.4.16 2.4.16
rancher github.com/rancher/rancher(Go) >= 2.5.0, < 2.5.9 2.5.9
rancher github.com/rancher/rancher(Go) >= 2.0.0+incompatible No fix listed
rancher github.com/rancher/rancher < 2.4.16 2.4.16
rancher github.com/rancher/rancher >= 2.5.0, < 2.5.9 2.5.9
rancher github.com/rancher/rancher >= Rancher, < 2.5.9 2.5.9
rancher SUSE Linux Enterprise Server 15 >= Rancher, < 2.4.16 2.4.16

References