GHSA-rm3j-f69w-wqmqCriticalCVSS 9.1
golang.org/x/crypto/ssh vulnerable to infinite loop on large channel writes
🔗 CVE IDs covered (1)
📋 Description
When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal payload size calculation caused the write loop to spin indefinitely, sending empty packets without making progress. The size comparison now uses int64 to prevent truncation.
🎯 Affected products1
- go/golang.org/x/crypto/ssh:< 0.52.0