{"id":"GO-2021-0227","revision":"710d4e7435994202bc159af1b03412d5","records":[{"revision":"710d4e7435994202bc159af1b03412d5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2021-0227","aliases":["CVE-2020-29652","GHSA-3vm4-22fp-5rfm"],"title":"Panic on crafted authentication request message in golang.org/x/crypto/ssh","description":"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.","state":0,"publishedAt":"2022-02-17T17:35:32+00:00","modifiedAt":"2026-02-04T03:17:50.287206+00:00","affected":[{"ecosystem":"Go","name":"golang.org/x/crypto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-20201216223049-8b5274cf687f"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/cl/278852","https://go.googlesource.com/crypto/+/8b5274cf687fd9316b4108863654cc57385531e8","https://groups.google.com/g/golang-announce/c/ouZIlBimOsE?pli=1"],"sourceUrl":"https://osv.dev/vulnerability/GO-2021-0227","license":"OSV · upstream source license applies","key":"osv:GO-2021-0227","identifiers":["GO-2021-0227","CVE-2020-29652","GHSA-3vm4-22fp-5rfm"]},"retained":false,"historicalAffected":[]}],"coverage":[]}