ADVISORIES

Go Vulnerability Database

GO-2022-0968

Panic on malformed packets in golang.org/x/crypto/ssh

Details

Unauthenticated clients can cause a panic in SSH servers.

When using AES-GCM or ChaCha20Poly1305, consuming a malformed packet which contains an empty plaintext causes a panic.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
All versions before 0.0.0-20211202192323-5770296d904e (fixed in 0.0.0-20211202192323-5770296d904e)

References