Live threats

All CVEs / Russh Project

CVE-2023-28113Russh Project Russh

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
No
Published
Mar 16, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-358, CWE-347
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Russh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io russh < 0.36.2 0.36.2 cargo update -p russh --precise 0.36.2
crates.io russh ≥ 0.37.0 < 0.37.1 0.37.1 cargo update -p russh --precise 0.37.1

Per OSV / GitHub Advisories (GHSA-cqvm-j2r2-hwpg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
russh_projectrussh≥ 0.34.0 < 0.36.2
russh_projectrussh0.37.0
russh_projectrussh0.37.0

Official sources

References

Links published by the sources. Open them with care.