CVE-2023-28113

MEDIUM EPSS 45.1%
Published Mar 16, 20233y ago · Modified Jun 17, 20262w ago
5.9 CVSS 3.1
Medium
Find Similar
Published Mar 16, 2023 3y ago
Last Modified Jun 17, 2026 2w ago

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

CVSS Details

Base Score
5.9
Exploitability
2.2
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
45.1% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 3

CWE-20 Improper Input Validation Validation
CWE-347
CWE-358

Affected Products 3

VendorProductVersionRange
russh_projectrussh*≥0.34.0  –  <0.36.2
russh_projectrussh0.37.0any
russh_projectrussh0.37.0any

References 6

  • github.com https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L72-L76
    Product
  • github.com https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L78-L81
    Product
  • github.com https://github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e
    Patch
  • github.com https://github.com/warp-tech/russh/releases/tag/v0.36.2
    Release Notes
  • github.com https://github.com/warp-tech/russh/releases/tag/v0.37.1
    Release Notes
  • github.com https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e
    Patch