CVE-2024-43410 json
Russh has an OOM Denial of Service due to allocation of untrusted amount
published 2024-08-14 2 y ago modified 2026-06-17 4 mo ago also GHSA-vgvv-x7xg-6cqg , EUVD-2024-2664
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | russh | <0.44.1 |
0.44.1 |
Affected products
- Eugeny russh
- russh_project russh
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55
web, patch
-
github.com
/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-43410
advisory
-
github.com
/Eugeny/russh
package
Sources
- CVE List CVE-2024-43410
- GitHub Advisory GHSA-vgvv-x7xg-6cqg
- NVD CVE-2024-43410
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.