Skip to content

CVE-2023-28113 russh may use insecure Diffie-Hellman keys

MediumCVSS 5.9 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known

Description

russh is a Rust SSH client and server library. Starting in version 0.34.0 and prior to versions 0.36.2 and 0.37.1, Diffie-Hellman key validation is insufficient, which can lead to insecure shared secrets and therefore breaks confidentiality. Connections between a russh client and server or those of a russh peer with some other misbehaving peer are most likely to be problematic. These may vulnerable to eavesdropping. Most other implementations reject such keys, so this is mainly an interoperability issue in such a case. This issue is fixed in versions 0.36.2 and 0.37.1

Affected products

ProductAffected versionsFixed in
crates.io russh(crates.io) < 0.36.2 0.36.2
crates.io russh(crates.io) >= 0.37.0, < 0.37.1 0.37.1
warp-tech russh >= 0.34.0 No fix listed
warp-tech russh >= 0.36.2, < 0.36.2 0.36.2
warp-tech russh >= 0.37.0 No fix listed
warp-tech russh >= 0.37.1, < 0.37.1 0.37.1
russh project russh >= 0.34.0, < 0.36.2 0.36.2
russh project russh = 0.37.0 No fix listed
russh project russh = 0.37.0-beta1 No fix listed

References