Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. russh
  4. ›
  5. CVE-2023-28113

CVE-2023-28113: russh may use insecure Diffie-Hellman keys

March 17, 2023

Diffie-Hellman key validation is insufficient, which can lead to insecure shared secrets and therefore breaks confidentiality.

References

  • github.com/advisories/GHSA-cqvm-j2r2-hwpg
  • github.com/warp-tech/russh
  • github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs
  • github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs
  • github.com/warp-tech/russh/commit/45d2d82930bf4a675bd57abfafec8fe4065befcd
  • github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e
  • github.com/warp-tech/russh/releases/tag/v0.36.2
  • github.com/warp-tech/russh/releases/tag/v0.37.1
  • github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg
  • nvd.nist.gov/vuln/detail/CVE-2023-28113

Code Behaviors & Features

Detect and mitigate CVE-2023-28113 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.36.2, all versions starting from 0.37.0 before 0.37.1

Fixed versions

  • 0.36.2
  • 0.37.1

Solution

Upgrade to versions 0.36.2, 0.37.1 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

cargo/russh/CVE-2023-28113.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.