CVE Catalog

GHSA-r75w-7fhp-84w8

Unknown
Published: —Translated: NVD NIST

Summary

Net::SSH::Transport::ServerVersion#read! appends each received byte to @version until a newline, then copies to @header, with no maximum line length or total byte cap enforced. A malicious server sending a long identification line without LF causes unbounded memory growth.

Risk Assessment

A malicious SSH server can cause memory exhaustion on the net-ssh client during server version reading, potentially leading to denial of service.

Recommendation

Update net-ssh to a version containing the fix that limits identification line length. Consider monitoring memory usage in applications using net-ssh.

Other vulnerabilities in net-ssh

See all
Original NVD description (English source)

## 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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS