CVE-2024-43410
Russh OOM Vulnerability
Description
Russh is a Rust SSH client & server library. Allocating an untrusted amount of memory allows any unauthenticated user to OOM a russh server. An SSH packet consists of a 4-byte big-endian length, followed by a byte stream of this length. After parsing and potentially decrypting the 4-byte length, russh allocates enough memory for this bytestream, as a performance optimization to avoid reallocations later. But this length is entirely untrusted and can be set to any value by the client, causing this much memory to be allocated, which will cause the process to OOM within a few such requests. This vulnerability is fixed in 0.44.1.
INFO
Published Date :
Aug. 21, 2024, 4:15 p.m.
Last Modified :
Aug. 13, 2025, 6:32 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2024-43410
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-43410
.
URL | Resource |
---|---|
https://github.com/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55 | Patch |
https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-43410
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-43410
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-43410
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-43410
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 13, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:* versions up to (excluding) 0.44.1 *cpe:2.3:a:warpgate_project:warpgate:*:*:*:*:*:*:*:* versions up to (excluding) 0.10.2 Added Reference Type GitHub, Inc.: https://github.com/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg Types: Exploit, Vendor Advisory -
CVE Received by [email protected]
Aug. 21, 2024
Action Type Old Value New Value Added Description Russh is a Rust SSH client & server library. Allocating an untrusted amount of memory allows any unauthenticated user to OOM a russh server. An SSH packet consists of a 4-byte big-endian length, followed by a byte stream of this length. After parsing and potentially decrypting the 4-byte length, russh allocates enough memory for this bytestream, as a performance optimization to avoid reallocations later. But this length is entirely untrusted and can be set to any value by the client, causing this much memory to be allocated, which will cause the process to OOM within a few such requests. This vulnerability is fixed in 0.44.1. Added Reference GitHub, Inc. https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg [No types assigned] Added Reference GitHub, Inc. https://github.com/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55 [No types assigned] Added CWE GitHub, Inc. CWE-770 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H