Vulnerability record · CVE-2017-3204 · published 4 April 2017
CVE-2017-3204: Golang crypto vulnerability
Golang · Crypto
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.
Description
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/97481 | Third Party AdvisoryVDB Entry |
| https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ | Third Party Advisory |
| https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 | PatchThird Party Advisory |
| https://github.com/golang/go/issues/19767 | Third Party Advisory |
| https://godoc.org/golang.org/x/crypto/ssh | Vendor Advisory |
| http://www.securityfocus.com/bid/97481 | Third Party AdvisoryVDB Entry |
| https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ | Third Party Advisory |
| https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 | PatchThird Party Advisory |
| https://github.com/golang/go/issues/19767 | Third Party Advisory |
| https://godoc.org/golang.org/x/crypto/ssh | Vendor Advisory |
Track CVE-2017-3204 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-3204), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.