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 made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.57% (79th 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 ID SNYK-GOLANG-GOLANGORGXCRYPTOSSH-2331920
  • published 9 Jan 2022
  • disclosed 9 Jan 2022
  • credit Joern Schneewesiz

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 Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

7.5 high
Expand this section

Red Hat

7.5 high