GO-2026-5017: Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- google golang.org/x/crypto
https://osv.dev/vulnerability/GO-2026-5017 ↗
Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop. The blocked goroutine could not be released by calling Close(), resulting in a resource leak per connection. Unsolicited global responses are now discarded. Affected: Go:golang.org/x/crypto Fixed in: 0.52.0 References: https://go.dev/issue/79564 https://groups.google.com/g/golang-announce/c/a082jnz-LvI https://go.dev/cl/781640 https://go.dev/cl/781664