CVE-2021-25318 json
rancher: API group not properly specified when creating Kubernetes RBAC resources
published 2021-07-15 5 y ago modified 2026-09-10 1 mo ago also GHSA-f9xf-jq4j-vqw4 , GO-2024-2768 , EUVD-2024-1195
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/rancher/rancher 2.4.16, 2.5.9
- Rancher Rancher 2.4.16, 2.5.9
Exploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/rancher/rancher | >=2.0.0, <2.4.16 >=2.5.0, <2.5.9 >=2.0.0+incompatible |
2.4.16 2.5.9 |
Affected products
- Rancher Rancher
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
bugzilla.suse.com
/show_bug.cgi?id=1184913
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-25318
advisory
-
github.com
/rancher/rancher/issues/33590
web, report
-
github.com
/rancher/rancher
package
-
pkg.go.dev
/vuln/GO-2024-2768
web
-
github.com
/advisories/GHSA-f9xf-jq4j-vqw4
advisory
Sources
- CVE List CVE-2021-25318
- GitHub Advisory GHSA-f9xf-jq4j-vqw4
- NVD CVE-2021-25318
- OSV GO-2024-2768
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.