CVE-2024-43410: Russh Project Russh
High severity, CVSS 7.5. EPSS: 1.0% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Russh Project Russh, before 0.44.1: fixed in 0.44.1
- Warpgate Project Warpgate, before 0.10.2: fixed in 0.10.2
Affected products
- Russh Project Russh: before 0.44.1 (fixed in 0.44.1)
- Warpgate Project Warpgate: before 0.10.2 (fixed in 0.10.2)
Affected packages
- russh (crates.io)
Published 2024-08-21. Last modified 2026-06-17.