CVE-2023-28113russh may use insecure Diffie-Hellman keys
- 5.9MediumCVSS base score
- 0.64%Exploitation in 30 daysEPSS · top 49% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
Timeline
ID reserved
By GitHub_M
- 6 days later
· 6 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.64% · top 49% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- crates.iorusshGHSA-cqvm-j2r2-hwpg (opens in a new tab)
References
References6
- https://github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e (opens in a new tab)x_transferred
- https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L72-L76 (opens in a new tab)x_transferred
- https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L78-L81 (opens in a new tab)x_transferred
- https://github.com/warp-tech/russh/releases/tag/v0.36.2 (opens in a new tab)x_transferred
- https://github.com/warp-tech/russh/releases/tag/v0.37.1 (opens in a new tab)x_transferred
- https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-0989 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cqvm-j2r2-hwpg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-28113)Record last updated .