GitHub Advisoryadvisory · Go
GHSA-3vm4-22fp-5rfm golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2020-29652
- Ecosystem
- Go
- Packages
- golang.org/x/crypto
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
- Reviewed
- 2023-02-08
Affected packages
• Go golang.org/x/crypto: < 0.0.0-20201216223049-8b5274cf687f → fixed in 0.0.0-20201216223049-8b5274cf687f
Description
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.
Related
Alias · CVE (1)
- CVE-2020-29652 A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote… vulnerability
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- 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