CVE-2024-43410: Russh - Denial of Service
- Cve: CVE-2024-43410
- Name: Russh - Denial of Service
- 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.
- Impact: Unauthenticated users can cause a denial of service by exhausting server memory through crafted SSH packets.
- Remediation: Update to version 0.44.1 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00912
- Epss percentile: 0.60775
- Assignee: [email protected]
- Published at: 2024-08-21T16:15:08Z
- Age in days: 825
- Modified at: 2026-06-17T07:50:59Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-43410
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg | nvd | 2024-08-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55 | nvd | Patch |
| https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| russh_project:russh | < 0.44.1 | no | nvd | /v1/products/russh_project/russh |
| warpgate_project:warpgate | < 0.10.2 | no | nvd | /v1/products/warpgate_project/warpgate |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Eugeny/russh | commit, fix, package, security_advisory | yes | /v1/repositories/Eugeny/russh |
Index
- Repositories: 6
- Repositories high signal: 5
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-08-21
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts