CVE-2024-58259 — Vulnerability in github.com/rancher/rancher
Rancher affected by unauthenticated Denial of Service
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.60%). Schedule for your next planned update.
Does your project use an affected github.com/rancher/rancher version?
Paste your go.sum to check it for CVE-2024-58259 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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:
- Reach out to the SUSE Rancher Security team for security related inquiries.
- Open an issue in the Rancher repository.
- Verify with our support matrix and product support lifecycle.
Advisory Timeline
- First published August 29, 2025 (454 days ago).
- Last revised September 8, 2025 — 10 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/rancher/rancher@v2.12.1
go get github.com/rancher/rancher@v2.10.9
go get github.com/rancher/rancher@v2.11.5
go get github.com/rancher/rancher@v2.9.11
go get github.com/rancher/rancher@v0.0.0-20250813072957-aee95d4e2a41
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/rancher/rancher Go · Affected: All versions | 2.12.1 |
| github.com/rancher/rancher Go · Affected: All versions | 2.10.9 |
| github.com/rancher/rancher Go · Affected: All versions | 2.11.5 |
| github.com/rancher/rancher Go · Affected: All versions | 2.9.11 |
| github.com/rancher/rancher Go · Affected: All versions | 0.0.0-20250813072957-aee95d4e2a41 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-770Allocation of Resources Without LimitsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
References
- https://github.com/rancher/rancher/security/advisories/GHSA-4h45-jpvh-6p5jWEB
- https://github.com/rancher/rancher/commit/aee95d4e2a41ba2df6f88c9634d4fe1f42dee4d9WEB
- https://github.com/rancher/rancherPACKAGE
- https://github.com/rancher/rancher/releases/tag/v2.10.9WEB
- https://github.com/rancher/rancher/releases/tag/v2.11.5WEB
- https://github.com/rancher/rancher/releases/tag/v2.12.1WEB
- https://github.com/rancher/rancher/releases/tag/v2.9.11WEB
Frequently Asked Questions
- What is CVE-2024-58259?
- Rancher affected by unauthenticated Denial of Service. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
- How do I check if my project is affected by CVE-2024-58259?
- CVE-2024-58259 affects github.com/rancher/rancher. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-58259 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 42.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-22651CRITICAL
Rancher Webhook is misconfigured during upgrade process
- CVE-2022-31247CRITICAL
Rancher has downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)
- CVE-2023-32196CRITICAL
Rancher allows privilege escalation in Windows nodes due to Insecure Access Control Lists
- CVE-2019-11202CRITICAL
Rancher Recreates Default User With Known Password Despite Deletion
- CVE-2024-52281HIGH
Rancher UI has Stored Cross-site Scripting vulnerability
- CVE-2026-41053HIGH
Rancher has over-inclusive team membership expansion in GitHub App authentication provider
- CVE-2026-25705HIGH
Rancher Extensions have arbitrary file access via path traversal
- CVE-2022-45157HIGH
Exposure of vSphere's CPI and CSI credentials in Rancher