{"id":"CVE-2017-3204","details":"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.","aliases":["GHSA-xhjq-w7xm-p8qj","GO-2020-0013"],"modified":"2026-03-14T09:22:58.731392Z","published":"2017-04-04T14:59:00.180Z","references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/97481"},{"type":"ADVISORY","url":"https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/"},{"type":"ADVISORY","url":"https://github.com/golang/go/issues/19767"},{"type":"ADVISORY","url":"https://godoc.org/golang.org/x/crypto/ssh"},{"type":"FIX","url":"https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/golang/crypto","events":[{"introduced":"0"},{"fixed":"e4e2799dd7aab89f583e1d898300d96367750991"}]},{"type":"GIT","repo":"https://github.com/golang/crypto","events":[{"introduced":"0"},{"fixed":"e4e2799dd7aab89f583e1d898300d96367750991"}]}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"2017-03-17"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-3204.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}