High severity · published Aug 21, 2024
CVE-2024-43410
Russh is a Rust SSH client & server library
7.5
CVSS
0.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 60% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RU
Russh · Russh Project
before 0.44.1 · source: NVD
WA
Warpgate · Warpgate Project
before 0.10.2 · source: NVD
Affected product
RU
Russh
Russh Project
More from Russh
7.5
CVE-2026-42189
Russh: Pre-auth DoS via unbounded allocation in keyboard-interactive auth
6.5
CVE-2025-54804
Russh is a Rust SSH client & server library
5.9
CVE-2023-48795
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some…
5.9
CVE-2023-28113
russh is a Rust SSH client and server library