CVE-2021-25318
HIGH 8.8CVSS 3.1Rancher 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rancher | ranchercpe:2.3:a:rancher:rancher:*:*:*:*:*:*:*:* |
< 2.4.16 | 2.4.16 |
| NVD | rancher | ranchercpe: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
- https://bugzilla.suse.com/show_bug.cgi?id=1184913 · Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25318 · ADVISORY
- https://github.com/rancher/rancher/issues/33590 · WEB, REPORT
- https://github.com/rancher/rancher · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-2768 · WEB
- https://github.com/advisories/GHSA-f9xf-jq4j-vqw4 · ADVISORY
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)