CVE-2023-28113

russh may use insecure Diffie-Hellman keys

State
Published
Severity
5.9 Medium
Published
Mar 16, 2023
Updated
Feb 25, 2025
Reserved
Mar 10, 2023

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-358 Improperly Implemented Security Check for Standard

Affected Products

ProductVersions
russhwarp-tech
  • 0.34.0 to before 0.34.0*Affected
  • 0.36.2 to before 0.36.2Affected
  • 0.37.0 to before 0.37.0*Affected
  • 0.37.1 to before 0.37.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.