CVE Catalog

GHSA-pfqh-p9vh-wx4p

Unknown
Published: —Translated: NVD NIST

Summary

net-ssh's transport packet reader trusts the 4-byte wire packet length without capping it against RFC 4253 §6.1 (35000 bytes). Pre-KEX (plaintext), a malicious server can declare an arbitrarily large packet length and stream data, causing unbounded client memory growth before authentication.

Risk Assessment

A malicious SSH server can cause memory exhaustion on the net-ssh client, potentially leading to denial of service or application crash.

Recommendation

Update net-ssh to a version containing the fix that enforces packet length limits. If updating is not possible, consider restricting trust to known SSH servers or monitoring memory usage.

Other vulnerabilities in net-ssh

See all
Original NVD description (English source)

## Summary net-ssh's transport packet reader trusts the 4-byte wire packet length without capping it against RFC 4253 §6.1 (35000 bytes). Pre-KEX (plaintext), a malicious server can declare an arbitrarily large packet length and stream data, causing unbounded client memory growth before authenticat

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