ADVISORIES

Go Vulnerability Database

GO-2021-0227

Panic on crafted authentication request message in golang.org/x/crypto/ssh

Details

Clients can cause a panic in SSH servers. An attacker can craft an authentication request message for the “gssapi-with-mic” method which will cause NewServerConn to panic via a nil pointer dereference if ServerConfig.GSSAPIWithMICConfig is nil.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
All versions before 0.0.0-20201216223049-8b5274cf687f (fixed in 0.0.0-20201216223049-8b5274cf687f)

References