CVE-2024-43410
HIGH 7.5CVSS 3.1Russh has an OOM Denial of Service due to allocation of untrusted amount
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.
- Published
- 21 Aug 2024
- Last modified
- 12 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-vgvv-x7xg-6cqgRUSTSEC-2024-0450
- Sources
- NVDJSONOSV GHSA-vgvv-x7xg-6cqgJSONOSV RUSTSEC-2024-0450JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | russh_project | russhcpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:* |
< 0.44.1 | 0.44.1 |
| NVD | warpgate_project | warpgatecpe:2.3:a:warpgate_project:warpgate:*:*:*:*:*:*:*:* |
< 0.10.2 | 0.10.2 |
| OSV | crates.io | russh | < 0.44.1 | 0.44.1 |
| OSV | crates.io | russh | >= 0.0.0-0, < 0.44.1 | 0.44.1 |
References
- https://github.com/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55 · Patch, WEB
- https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43410 · ADVISORY
- https://github.com/Eugeny/russh · PACKAGE
- https://crates.io/crates/russh · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0450.html · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Aug 2024)