VDB

CVE-2021-25318

CVE-2021-25318 PUBLISHED CVSS 9.300000190734863 CRITICAL

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.

PackageEcosystemFixed in
github.com/rancher/rancher/serverGo Modulesv2.5.9, v2.4.16, 2.5.9, 2.4.16
github.com/rancher/rancherGo Modules2.5.9, 2.4.16
rancherrancher2.5.9, 2.4.16

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS Score
1.05%
65.1th percentile

Affected products

VendorProductVersions
rancherrancher0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›