CVE-2024-43410
published high CVSS 3.1 · 7.5Russh has an OOM Denial of Service due to allocation of untrusted amount
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Eugeny | russh | < 0.44.1 (affected) | GitHub_M · cna |
| russh_project | russh | 0 to < 0.44.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
2Provider assertions
2GitHub_M · cna
Russh has an OOM Denial of Service due to allocation of untrusted amount
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a0cedaf908df7e4e6a20a4506a57b5e274e5b52f2a781434f2f46f7ae461ad72
- Ingested
- 23 Sep 2026, 08:27:02 UTC
- Source record
- Official CVE record