GHSA-R75W-7FHP-84W8
Pre-auth unbounded banner/identification buffering DoS
Overview
Description
Summary
Net::SSH::Transport::ServerVersion#read! appends each received byte to @version (@version << b) until \n, then copies to @header (@header << @version). No maximum line length or total byte cap is enforced. A malicious server sending a long identification line without LF causes unbounded client memory growth pre-authentication.
Credit
Reported by zhangph (afldl), 2026-07.
Source: OX vulnerability database
Severity
UNKNOWN
No CVSS vector in the source. Severity comes from the advisory.
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | net-ssh | — | ~> 7.3, >= 7.3.58.0.0.rc2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/net-ssh/net-ssh/compare/v7.3.4...v7.3.5
- github.com https://github.com/net-ssh/net-ssh/compare/v8.0.0.rc1...v8.0.0.rc2
- github.com https://github.com/net-ssh/net-ssh/security/advisories/GHSA-r75w-7fhp-84w8
- rubygems.org https://rubygems.org/gems/net-ssh/versions/7.3.5
- rubygems.org https://rubygems.org/gems/net-ssh/versions/8.0.0.rc2
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.