8.1high

CVE-2017-3204

golang.org/x/crypto/ssh Man-in-the-Middle attack

Also known as GHSA-xhjq-w7xm-p8qj, GO-2020-0013

Published 9 y ago · modified 4 mo ago · JSON

CVSS
8.1
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
3.2%
percentile 88%
Public exploits
0
none known

Summary

The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks. Default behavior changed in commit e4e2799 to require explicitly registering a hostkey verification mechanism.

Exploit prediction (EPSS)

3.16% probability of exploitation in the next 30 days, higher than 88% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.18.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.18.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
gogolang.org/x/crypto
<0.0.0-20170330155735-e4e2799dd7aa
0.0.0-20170330155735-e4e2799dd7aa

Affected products

  • Go SSH library

Classification

Weakness

References

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.