GO-2021-0227
Panic on crafted authentication request message in golang.org/x/crypto/ssh
At a glance
- Published
- Updated
- CVE
- CVE-2020-29652
- Aliases
- GHSA-3vm4-22fp-5rfm
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.
Affected packages
| Package | Versions |
|---|---|
| Go · golang.org/x/crypto | introduced 0, fixed 0.0.0-20201216223049-8b5274cf687f |
References
- https://go.dev/cl/278852 FIX
- https://go.googlesource.com/crypto/+/8b5274cf687fd9316b4108863654cc57385531e8 FIX
- https://groups.google.com/g/golang-announce/c/ouZIlBimOsE?pli=1 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |