CVE-2023-28113Russh Project Russh
Medium 5.9 No auth needed
Follow: this CVE · Russh Project · Russh Project Russh We alert you by email or Slack (account required).
- 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
- 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
What to do
- Apply the vendor's security update for Russh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| russh_project | russh | ≥ 0.34.0 < 0.36.2 |
| russh_project | russh | 0.37.0 |
| russh_project | russh | 0.37.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Product
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Vendor Advisory