Live threats

All CVEs / Russh Project

CVE-2024-43410Russh Project Russh

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 61
Auth required
No
Published
Aug 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Russh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io russh < 0.44.1 0.44.1 cargo update -p russh --precise 0.44.1
crates.io russh ≥ 0.0.0-0 < 0.44.1 0.44.1 cargo update -p russh --precise 0.44.1

Per OSV / GitHub Advisories (GHSA-vgvv-x7xg-6cqg, RUSTSEC-2024-0450). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
russh_projectrussh< 0.44.1
warpgate_projectwarpgate< 0.10.2

Official sources

References

Links published by the sources. Open them with care.