HIGH7.5
GHSA-3vm4-22fp-5rfm
golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability
Quick fix
GHSA-3vm4-22fp-5rfm — golang.org/x/crypto: upgrade to the fixed version with the command below.
go get golang.org/x/crypto@v0.0.0-20201216223049-8b5274cf687fDetails
A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote attackers to cause a denial of service against 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/golang.org/x/crypto
Introduced in:
0Fixed in: 0.0.0-20201216223049-8b5274cf687fFix
go get golang.org/x/crypto@v0.0.0-20201216223049-8b5274cf687fReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-29652[ADVISORY]
- https://go-review.googlesource.com/c/crypto/+/278852[WEB]
- https://go.dev/cl/278852[WEB]
- https://go.googlesource.com/crypto/+/8b5274cf687fd9316b4108863654cc57385531e8[WEB]
- https://groups.google.com/g/golang-announce/c/ouZIlBimOsE?pli=1[WEB]
- https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff@%3Cnotifications.skywalking.apache.org%3E[WEB]
- https://pkg.go.dev/vuln/GO-2021-0227[WEB]