Security mailing lists by PureSourceCode

CVE-2024-43410

HIGH 7.5CVSS 3.1

Russh 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD russh_project russh
cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:*
< 0.44.1 0.44.1
NVD warpgate_project warpgate
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.