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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
13.75% (96th 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-551923
  • published21 Feb 2020
  • disclosed21 Feb 2020
  • creditAlex Gaynor

Introduced: 21 Feb 2020

CVE-2020-9283  (opens in a new tab)
CWE-347  (opens in a new tab)

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.

CVSS Scores

version 3.1