LiveActive security incident?Get immediate response
CVE Record

CVE-2021-25318: rancher: API group not properly specified 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.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-25318 is a Rancher authorization flaw. In affected versions, users already present in a cluster could gain ability to modify resources they should not control. For businesses, the concern is privilege misuse inside managed Kubernetes environments, with possible confidentiality, integrity, and availability impact.

Executive priority

Treat this as a high-priority upgrade for Rancher-managed Kubernetes environments. The risk is internal privilege expansion by authenticated cluster users, which can affect sensitive workloads and operations even without public active exploitation evidence.

Technical view

The issue is CWE-732: incorrect permission assignment for a critical resource. Rancher did not properly specify an API group when creating Kubernetes RBAC resources, allowing in-cluster users to modify resources outside their intended access. Affected versions are Rancher before 2.5.9 and before 2.4.16.

Likely exposure

Exposure is limited to Rancher deployments running versions prior to 2.5.9 or prior to 2.4.16, especially where multiple users have cluster access. The CVSS vector indicates network access, low privileges, and no user interaction are required.

Exploitation context

The source bundle does not report active exploitation, and the CVE is not marked KEV. Exploitation would require an authenticated, low-privileged cluster user, based on the CVSS vector. No public exploit status is established by the provided sources.

Researcher notes

Evidence is concise: the CVE describes an API group handling error during RBAC resource creation, mapped to CWE-732, with CVSS 8.8. The provided sources do not include exploit details, affected configuration nuance, or a named workaround beyond fixed version boundaries.

Mitigation direction

  • Upgrade Rancher 2.5.x deployments to 2.5.9 or later.
  • Upgrade Rancher 2.4.x deployments to 2.4.16 or later.
  • Check SUSE or Rancher guidance for any environment-specific remediation notes.
  • Limit cluster user access until affected Rancher instances are upgraded.
  • Review RBAC resources for unintended permissions after upgrade.

Validation and detection

  • Inventory all Rancher versions and flag instances below 2.5.9 or 2.4.16.
  • Review managed clusters for users with low-privilege cluster access.
  • Inspect Kubernetes RBAC resources for unexpected broad permissions.
  • Check audit logs for unauthorized RBAC or resource modification activity.
  • Confirm upgraded Rancher instances no longer match affected version ranges.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-732: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-25318 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2021-25318Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
RancherRancherRancherListed
RancherRancherRancherListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-732 · source CWE mapping

Incorrect Permission Assignment for Critical Resource

Incorrect Permission Assignment for Critical Resource represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.