CVE-2023-28113
published medium CVSS 3.1 · 5.9russh may use insecure Diffie-Hellman keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| warp-tech | — | russh0.34.0 to < 0.34.0* · 0.36.2 to < 0.36.2 · 0.37.0 to < 0.37.0* · 0.37.1 to < 0.37.1 | Affected | Not stated | GitHub_M |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| warp-tech | russh | 0.34.0 to < 0.34.0* (affected · custom)0.36.2 to < 0.36.2 (affected · custom)0.37.0 to < 0.37.0* (affected · custom)0.37.1 to < 0.37.1 (affected · custom) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20 Improper Input Validation
- CWE-358 CWE-358 Improperly Implemented Security Check for Standard
References
6- https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L72-L76
- https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L78-L81
- https://github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e
- https://github.com/warp-tech/russh/releases/tag/v0.36.2
- https://github.com/warp-tech/russh/releases/tag/v0.37.1
- https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg
Provider assertions
3GitHub_M · cna
russh may use insecure Diffie-Hellman keys
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5bed9779f06d895d414dd1cf78ef5cc3791666aeed6cdc46d121f18d886d7e93
- Ingested
- 23 Sep 2026, 08:07:35 UTC
- Source record
- Official CVE record