CVE-2021-25318
Rancher does not properly specify ApiGroup when creating Kubernetes RBAC resources
Record from NVD · Published July 15, 2021
github.com/rancher/rancher/server is fixed in v2.5.9, v2.4.16, 2.5.9 and 1 more (Go Modules)
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.
EPSS 1.05% · 65.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/rancher/rancher/server | Go Modules | v2.5.9, v2.4.16, 2.5.9, 2.4.16 |
| github.com/rancher/rancher | Go Modules | 2.5.9, 2.4.16 |
| rancher | rancher | 2.5.9, 2.4.16 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rancher | rancher | 0, 2.5.0 |
Timeline
- Jul 15, 2021 CVE Published
- Jul 16, 2021 EPSS Score (30 in total, the first dated here)
- Apr 24, 2024 CVE Updated
- Mar 20, 2026 Security Advisory
- Aug 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-25318
vulnetix vdb fixes CVE-2021-25318
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-25318/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart