CVE-2023-28113
russh may use insecure Diffie-Hellman keys
Overview
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
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-20, CWE-358, CWE-347
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | russh | <0.36.2>=0.37.0, <0.37.1 | 0.36.20.37.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/warp-tech/russh
- github.com https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L72-L76
- github.com https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L78-L81
- github.com https://github.com/warp-tech/russh/commit/45d2d82930bf4a675bd57abfafec8fe4065befcd
- github.com https://github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e
- github.com https://github.com/warp-tech/russh/releases/tag/v0.36.2
- github.com https://github.com/warp-tech/russh/releases/tag/v0.37.1
- github.com https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-28113
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.