Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. russh
  4. ›
  5. GHSA-f5v4-2wr6-hqmg

GHSA-f5v4-2wr6-hqmg: russh has pre-auth DoS via unbounded allocation in its keyboard-interactive auth handler

April 24, 2026

A pre-authentication denial-of-service vulnerability exists in the server’s keyboard-interactive authentication handler. A malicious client can crash any russh-based server that implements keyboard-interactive auth (e.g., for 2FA/TOTP) with a single malformed packet, requiring no credentials.

References

  • github.com/Eugeny/russh
  • github.com/Eugeny/russh/commit/6c3c80a9b6d60763d6227d60fa8310e57172a4d1
  • github.com/Eugeny/russh/releases/tag/v0.60.1
  • github.com/Eugeny/russh/security/advisories/GHSA-f5v4-2wr6-hqmg
  • github.com/advisories/GHSA-f5v4-2wr6-hqmg

Code Behaviors & Features

Detect and mitigate GHSA-f5v4-2wr6-hqmg 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.60.1

Fixed versions

  • 0.60.1

Solution

Upgrade to version 0.60.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling
  • CWE-789: Memory Allocation with Excessive Size Value

Source file

cargo/russh/GHSA-f5v4-2wr6-hqmg.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 25 Apr 2026 00:20:04 +0000.