CVE-2024-58259
JSON

8.2high

Rancher affected by unauthenticated Denial of Service

Severity
8.2high CVSS:3.1 by suse
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
suse
Also known as
GHSA-4h45-jpvh-6p5jGO-2025-3923

Description

A vulnerability has been identified within Rancher Manager in which it did not enforce request body size limits on certain public (unauthenticated) and authenticated API endpoints. This allows a malicious user to exploit this by sending excessively large payloads, which are fully loaded into memory during processing, leading to Denial of Service (DoS).

Affected

Product or packageVersionsReported by
github.com/rancher/rancherfrom 2.12.0 before 2.12.1, from 2.11.0 before 2.11.5, from 2.10.0 before 2.10.9, from 2.9.0 before 2.9.11, before 0.0.0-20250813072957-aee95d4e2a41CVE List
github.com/rancher/rancher (Go)from 2.12.0 before 2.12.1, from 2.11.0 before 2.11.5, from 2.10.0 before 2.10.9, from 2.9.0 before 2.9.11, before 0.0.0-20250813072957-aee95d4e2a41GitHub Advisory Database, Go Vulnerability Database

All scores

suse8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
GitHub8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

A vulnerability has been identified within Rancher Manager in which it did not enforce request body size limits on certain public (unauthenticated) and authenticated API endpoints. This allows a malicious user to exploit this by sending excessively large payloads, which are fully loaded into memory during processing, leading to Denial of Service (DoS).

GitHub Advisory Database
Impact

A vulnerability has been identified within Rancher Manager in which it did not enforce request body size limits on certain public (unauthenticated) and authenticated API endpoints. This allows a malicious user to exploit this by sending excessively large payloads, which are fully loaded into memory during processing. This could result in:

  • Denial of Service (DoS): The server process may crash or become unresponsive when memory consumption exceeds available resources.
  • Unauthenticated and authenticated exploitation: While the issue was initially observed in unauthenticated /v3-public/* endpoints, the absence of request body size limits also affected several authenticated APIs, broadening the potential attack surface. It's worth noting that other areas in Rancher do implement safeguards: requests proxied to Kubernetes APIs are subject to built-in size limits enforced by the Kubernetes API server itself, and Norman-based endpoints parse input with predefined size caps. However, the absence of similar protections in other Rancher APIs increased the risk of denial-of-service (DoS) scenarios in certain contexts.

By sending large binary or text payloads to vulnerable endpoints, a malicious actor could disrupt Rancher’s availability, impacting both administrative and user operations across managed clusters.

Please consult the associated MITRE ATT&CK - Technique - Network Denial of Service for further information about this category of attack.

Patches

This vulnerability is addressed by adding a default limit of 1MiB and a setting in case this value needs to be increased.

Patched versions of Rancher include releases v2.12.1, v2.11.5, v2.10.9 and v2.9.12.

Workarounds

If you can't upgrade to a fixed version, please make sure that you are manually setting the request body size limits. For example, using nginx-ingress controller and only allowing requests via the ingress. For reference on how to configure the limit manually, please consult the Knowledge Base.

References

If you have any questions or comments about this advisory:

Go Vulnerability Database

Rancher affected by unauthenticated Denial of Service in github.com/rancher/rancher.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/rancher/rancher from v2.9.0 before v2.9.11, from v2.10.0 before v2.10.9, from v2.11.0 before v2.11.5, from v2.12.0 before v2.12.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58259 changed 2025-09-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-4h45-jpvh-6p5j changed 2025-09-08CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3923 changed 2025-09-08CC-BY-4.0
NVDCVE-2024-58259 changed 2026-06-17Public domain