VDB
KO
CRITICAL 9.1

GHSA-vgwf-h737-ff37

golang.org/x/crypto/ssh: Invoking client can cause server deadlock on unexpected responses

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / golang.org/x/crypto/ssh
Introduced in: 0 Fixed in: 0.52.0
Fix go get golang.org/x/crypto/ssh@v0.52.0

References