PT-2020-6905 · Google+4 · Golang.Org/X/Crypto/Ssh+4
Gao Hongtao
+1
·
Published
2020-12-17
·
Updated
2024-06-15
·
CVE-2020-29652
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
golang.org/x/crypto/ssh versions through v0.0.0-20201203163018-be400aefbc4c
Description
A nil pointer dereference in the golang.org/x/crypto/ssh component 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. This issue can be exploited by clients to cause a panic in SSH servers.Recommendations
For golang.org/x/crypto/ssh versions through v0.0.0-20201203163018-be400aefbc4c, consider disabling the
gssapi-with-mic authentication method until a patch is available to prevent remote attackers from causing a denial of service against SSH servers. Additionally, ensure that ServerConfig.GSSAPIWithMICConfig is properly configured to avoid nil pointer dereferences. At the moment, there is no information about a newer version that contains a fix for this vulnerability.DoS
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Centos
Red Hat
Rocky Linux
Golang.Org/X/Crypto/Ssh