{"id":"GO-2022-0968","summary":"Panic on malformed packets in golang.org/x/crypto/ssh","details":"Unauthenticated clients can cause a panic in SSH servers.\n\nWhen using AES-GCM or ChaCha20Poly1305, consuming a malformed packet which contains an empty plaintext causes a panic.","aliases":["CVE-2021-43565","GHSA-gwc9-m7rh-j2ww"],"modified":"2026-02-04T04:04:49.626588Z","published":"2022-09-13T03:32:38Z","related":["CGA-fjwh-3mv3-f3r8"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0968","review_status":"REVIEWED"},"references":[{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/2AR1sKiM-Qs"},{"type":"REPORT","url":"https://go.dev/issues/49932"},{"type":"FIX","url":"https://go.dev/cl/368814/"}],"affected":[{"package":{"name":"golang.org/x/crypto","ecosystem":"Go","purl":"pkg:golang/golang.org/x/crypto"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20211202192323-5770296d904e"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/crypto/ssh","symbols":["Dial","NewClientConn","NewServerConn","chacha20Poly1305Cipher.readCipherPacket","curve25519sha256.Client","curve25519sha256.Server","dhGEXSHA.Client","dhGEXSHA.Server","dhGroup.Client","dhGroup.Server","ecdh.Client","ecdh.Server","gcmCipher.readCipherPacket"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0968.json"}}],"schema_version":"1.7.3","credits":[{"name":"Rod Hynes (Psiphon Inc)"}]}