HomeDefault status
unaffected
Any version before 0.52.0
affected
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.
Problem types
CWE-190: Integer Overflow or Wraparound
Product status
Any version before 0.52.0
Credits
NCC Group Cryptography Services, sponsored by Teleport
References
groups.google.com/g/golang-announce/c/a082jnz-LvI