CVE-2023-28113 json
russh may use insecure Diffie-Hellman keys
published 2023-03-16 3 y ago modified 2026-06-17 4 mo ago also GHSA-cqvm-j2r2-hwpg , EUVD-2023-0989
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- crates.io russh 0.36.2, 0.37.1
- russh_project russh 0.36.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | russh | <0.36.2 >=0.37.0, <0.37.1 |
0.36.2 0.37.1 |
Affected products
- warp-tech russh
Classification
References
-
github.com
/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e
web, patch
-
github.com
/warp-tech/russh/commit/45d2d82930bf4a675bd57abfafec8fe4065befcd
web
-
github.com
/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg
web, exploit, vendor-advisory
-
github.com
/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L72-L76
web, product
-
github.com
/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L78-L81
web, product
-
github.com
/warp-tech/russh/releases/tag/v0.36.2
web, release-notes
-
github.com
/warp-tech/russh/releases/tag/v0.37.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-28113
advisory
-
github.com
/warp-tech/russh
package
Sources
- CVE List CVE-2023-28113
- GitHub Advisory GHSA-cqvm-j2r2-hwpg
- NVD CVE-2023-28113
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.