CVE-2024-58259: Github.com/rancher/rancher Denial of Service Vulnerability
HIGHCVE-2024-58259 is a HIGH (CVSS 8.2) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Github.com/rancher/rancher libraries in the Go ecosystem. The issue involves rancher affected by unauthenticated denial of service. Remediation is available by upgrading affected packages to version 2.12.1, 2.11.5, 2.10.9, 2.9.11, 0.0.0-20250813072957-aee95d4e2a41.
CVE-2024-58259 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H).
How to Fix CVE-2024-58259
To remediate this vulnerability, upgrade all affected Github.com/rancher/rancher dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/rancher/rancher to 2.12.1
Upgrade github.com/rancher/rancher to 2.11.5
Upgrade github.com/rancher/rancher to 2.10.9
Upgrade github.com/rancher/rancher to 2.9.11
Upgrade github.com/rancher/rancher to 0.0.0-20250813072957-aee95d4e2a41
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/rancher/rancher
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-58259, inspect your project dependencies for Github.com/rancher/rancher:
inspect dependencies for github.com/rancher/rancher
Analyze the terminal output to locate any version of Github.com/rancher/rancher in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.12.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Github.com/rancher/rancher, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-58259 Affected Github.com/rancher/rancher Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/rancher/rancher
|
Go |
≥ 2.12.0
< 2.12.1
|
2.12.1
|
|
github.com/rancher/rancher
|
Go |
≥ 2.11.0
< 2.11.5
|
2.11.5
|
|
github.com/rancher/rancher
|
Go |
≥ 2.10.0
< 2.10.9
|
2.10.9
|
|
github.com/rancher/rancher
|
Go |
≥ 2.9.0
< 2.9.11
|
2.9.11
|
|
github.com/rancher/rancher
|
Go |
< 0.0.0-20250813072957-aee95d4e2a41
|
0.0.0-20250813072957-aee95d4e2a41
|
References
Frequently Asked Questions
What is CVE-2024-58259?
Which Github.com/rancher/rancher versions are affected?
What version fixes CVE-2024-58259?
Is github.com/rancher/rancher affected?
What is the CVSS score of CVE-2024-58259?
What CWE is associated with CVE-2024-58259?
How can I check Go dependencies for CVE-2024-58259?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4h45-jpvh-6p5j",
"modified" : "2025-08-29T15:38:23Z",
"published" : "2025-08-29T15:38:23Z",
"aliases" : [ "CVE-2024-58259" ],
"summary" : "Rancher affected by unauthenticated Denial of Service",
"details" : "### Impact\nA 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:\n- Denial of Service (DoS): The server process may crash or become unresponsive when memory consumption exceeds available resources.\n- 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](https://github.com/kubernetes/kubernetes/blob/v1.33.4/staging/src/k8s.io/apiserver/pkg/server/config.go#L465), and Norman-based endpoints parse input with [predefined size caps](https://github.com/rancher/norman/blob/41dfae2f1a640c5ac9304e8b51e45a0f52cbdbb9/parse/read_input.go#L20-L31). However, the absence of similar protections in other Rancher APIs increased the risk of denial-of-service (DoS) scenarios in certain contexts.\n\nBy 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.\n \nPlease consult the associated [MITRE ATT&CK - Technique - Network Denial of Service](https://attack.mitre.org/techniques/T1498/) for further information about this category of attack.\n\n### Patches\nThis vulnerability is addressed by adding a default limit of `1MiB` and a setting in case this value needs to be increased.\n\nPatched versions of Rancher include releases `v2.12.1`, `v2.11.5`, `v2.10.9` and `v2.9.12`.\n\n### Workarounds\nIf 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](https://www.suse.com/support/kb/doc/?id=000021309).\n\n### References\nIf you have any questions or comments about this advisory:\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/rancher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.12.0"
}, {
"fixed" : "2.12.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/rancher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.11.0"
}, {
"fixed" : "2.11.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/rancher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.10.0"
}, {
"fixed" : "2.10.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/rancher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.9.0"
}, {
"fixed" : "2.9.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/rancher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20250813072957-aee95d4e2a41"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/security/advisories/GHSA-4h45-jpvh-6p5j"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/commit/aee95d4e2a41ba2df6f88c9634d4fe1f42dee4d9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rancher/rancher"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/releases/tag/v2.10.9"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/releases/tag/v2.11.5"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/releases/tag/v2.12.1"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/releases/tag/v2.9.11"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-29T15:38:23Z",
"nvd_published_at" : null
}
}