NULL Pointer Dereference Affecting golang.org/x/crypto/ssh package, versions <0.0.0-20201216223049-8b5274cf687f


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.23% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GOLANGORGXCRYPTOSSH-2331920
  • published9 Jan 2022
  • disclosed9 Jan 2022
  • creditJoern Schneewesiz

Introduced: 9 Jan 2022

CVE-2020-29652  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade golang.org/x/crypto/ssh to version 0.0.0-20201216223049-8b5274cf687f or higher.

Overview

golang.org/x/crypto/ssh is a SSH client and server

Affected versions of this package are vulnerable to NULL Pointer Dereference via a crafted authentication request message for the gssapi-with-mic method which will cause NewServerConn to panic if ServerConfig.GSSAPIWithMICConfig is nil.

CVSS Base Scores

version 3.1