Improper Signature Verification Affecting golang.org/x/crypto/ssh package, versions <0.0.0-20200220183623-bac4c82f6975


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 24.39% (97th percentile)
Expand this section
NVD
7.5 high
Expand this section
Red Hat
7.5 high

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-551923
  • published 21 Feb 2020
  • disclosed 21 Feb 2020
  • credit Alex Gaynor

How to fix?

Upgrade golang.org/x/crypto/ssh to version 0.0.0-20200220183623-bac4c82f6975 or higher.

Overview

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

Affected versions of this package are vulnerable to Improper Signature Verification. An attacker can craft an ssh-ed25519 or sk-ssh-...@openssh.com public key, such that the library will panic when trying to verify a signature with it. Clients can deliver such a public key and signature to any golang.org/x/crypto/ssh server with a PublicKeyCallback, and servers can deliver them to any golang.org/x/crypto/ssh client.