CVE-2023-28113

published 16 Mar 2023 · updated 25 Feb 2025

russh may use insecure Diffie-Hellman keys

5.9MediumCVSS 5.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.34.0*, 0.36.2, 0.37.0* and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
warp-tech>=0.34.0 <0.34.0*, >=0.36.2 <0.36.2, >=0.37.0 <0.37.0*, >=0.37.1 <0.37.10.34.0*, 0.36.2, 0.37.0*, 0.37.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-28113 severity on Zeptric[![CVE-2023-28113](https://zeptric.io/badge/cve/CVE-2023-28113.svg)](https://zeptric.io/cve/CVE-2023-28113)