CVE-2025-54804

Russh is a Rust SSH client & server library. In versions 0.54.0 and below, the channel window adjust message of the SSH protocol is used to track the free space in the receive buffer of the other side of a channel. The current implementation takes the value from the message and adds it to an internal state value. This can result in a integer overflow. If the Rust code is compiled with overflow checks, it will panic. A malicious client can crash a server. This is fixed in version 0.54.1.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:*
cpe:2.3:a:warpgate_project:warpgate:*:*:*:*:*:*:*:*

History

13 Aug 2025, 18:32

Type Values Removed Values Added
References () https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5 - () https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5 - Patch
References () https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm - () https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm - Exploit, Vendor Advisory
First Time Russh Project
Warpgate Project
Warpgate Project warpgate
Russh Project russh
CPE cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:*
cpe:2.3:a:warpgate_project:warpgate:*:*:*:*:*:*:*:*

05 Aug 2025, 15:15

Type Values Removed Values Added
References () https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm - () https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm -

05 Aug 2025, 14:34

Type Values Removed Values Added
Summary
  • (es) Russh es una librería de cliente y servidor SSH de Rust. En las versiones 0.54.0 y anteriores, el mensaje de ajuste de la ventana de canal del protocolo SSH se utiliza para rastrear el espacio libre en el búfer de recepción del otro lado de un canal. La implementación actual toma el valor del mensaje y lo añade a un valor de estado interno. Esto puede provocar un desbordamiento de enteros. Si el código de Rust se compila con comprobaciones de desbordamiento, se generará un pánico. Un cliente malicioso puede colapsar un servidor. Esto se solucionó en la versión 0.54.1.

05 Aug 2025, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-05 01:15

Updated : 2025-08-13 18:32


NVD link : CVE-2025-54804

Mitre link : CVE-2025-54804

CVE.ORG link : CVE-2025-54804


JSON object : View

Products Affected

warpgate_project

  • warpgate

russh_project

  • russh
CWE
CWE-190

Integer Overflow or Wraparound