{"id":"CVE-2017-3204","aliases":["GHSA-xhjq-w7xm-p8qj","GO-2020-0013"],"url":"https://o3.security/vulnerability/CVE-2017-3204","summary":"golang.org/x/crypto/ssh Man-in-the-Middle attack","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.","published":"2017-04-04T14:59:00.180Z","modified":"2026-07-08T05:51:36.344822545Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"golang.org/x/crypto","fixedVersion":"0.0.0-20170330155735-e4e2799dd7aa"}],"fix":{"url":"https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991","label":"golang/crypto@e4e2799"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:51:36.344822545Z"}}