Security mailing lists by PureSourceCode

CVE-2023-28113

MEDIUM 5.9CVSS 3.1

russh may use insecure Diffie-Hellman keys

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

Published
16 Mar 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-20CWE-347
Also known as
GHSA-cqvm-j2r2-hwpg
Sources
NVDJSONOSV GHSA-cqvm-j2r2-hwpgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD russh_project russh
cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:*
>= 0.34.0, < 0.36.2 0.36.2
NVD russh_project russh
cpe:2.3:a:russh_project:russh:0.37.0:-:*:*:*:rust:*:*
= 0.37.0
NVD russh_project russh
cpe:2.3:a:russh_project:russh:0.37.0:beta1:*:*:*:rust:*:*
= 0.37.0
OSV crates.io russh < 0.36.2 0.36.2
OSV crates.io russh >= 0.37.0, < 0.37.1 0.37.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Mar 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.