Security mailing lists by PureSourceCode

CVE-2021-25318

HIGH 8.8CVSS 3.1

Rancher does not properly specify ApiGroup when creating Kubernetes RBAC resources

A Incorrect Permission Assignment for Critical Resource vulnerability in Rancher allows users in the cluster to modify resources they should not have access to. This issue affects: Rancher versions prior to 2.5.9 ; Rancher versions prior to 2.4.16.

Published
15 Jul 2021
Last modified
10 Sep 2026
Assigned by
meissner@suse.de
NVD status
Modified
Weakness
CWE-732
Also known as
GHSA-f9xf-jq4j-vqw4GO-2024-2768
Sources
NVDJSONOSV GHSA-f9xf-jq4j-vqw4JSONOSV GO-2024-2768JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD meissner@suse.de (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rancher rancher
cpe:2.3:a:rancher:rancher:*:*:*:*:*:*:*:*
< 2.4.16 2.4.16
NVD rancher rancher
cpe:2.3:a:rancher:rancher:*:*:*:*:*:*:*:*
>= 2.5.0, < 2.5.9 2.5.9
OSV Go github.com/rancher/rancher >= 2.0.0, < 2.4.16 2.4.16
OSV Go github.com/rancher/rancher >= 2.5.0, < 2.5.9 2.5.9
OSV Go github.com/rancher/rancher >= 2.0.0+incompatible

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Jul 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.