{"id":"CVE-2017-3204","state":"PUBLISHED","title":"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 reg","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.","publishedAt":"2017-04-04T14:00:00.000Z","updatedAt":"2024-08-05T14:16:28.305Z","severity":null,"assigner":"certcc","products":["Go SSH library"],"affected":[{"vendor":"Go","product":"SSH library","versions":[{"version":"prior to commit e4e2799","status":"affected"}]}],"references":["https://godoc.org/golang.org/x/crypto/ssh","https://github.com/golang/go/issues/19767","https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/","https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991","http://www.securityfocus.com/bid/97481"],"weaknesses":["CWE-310"],"ingestedAt":"2026-10-29T19:43:42.704Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/3xxx/CVE-2017-3204.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-3204","state":"PUBLISHED","datePublished":"2017-04-04T14:00:00.000Z","dateUpdated":"2024-08-05T14:16:28.305Z","assignerShortName":"certcc","assignerOrgId":"37e5125f-f79b-445b-8fad-9564f167944b","dateReserved":"2016-12-05T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Go","product":"SSH library","versions":[{"version":"prior to commit e4e2799","status":"affected"}]}],"references":[{"url":"https://godoc.org/golang.org/x/crypto/ssh","tags":["x_refsource_MISC"]},{"url":"https://github.com/golang/go/issues/19767","tags":["x_refsource_CONFIRM"]},{"url":"https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/","tags":["x_refsource_MISC"]},{"url":"https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/97481","name":"97481","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-310","description":"CWE-310","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"certcc","dateUpdated":"2017-04-07T09:57:01.000Z","orgId":"37e5125f-f79b-445b-8fad-9564f167944b"},"datePublic":"2017-04-02T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cert@cert.org","ID":"CVE-2017-3204","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"SSH library","version":{"version_data":[{"version_value":"prior to commit e4e2799"}]}}]},"vendor_name":"Go"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-310"}]}]},"references":{"reference_data":[{"name":"https://godoc.org/golang.org/x/crypto/ssh","refsource":"MISC","url":"https://godoc.org/golang.org/x/crypto/ssh"},{"name":"https://github.com/golang/go/issues/19767","refsource":"CONFIRM","url":"https://github.com/golang/go/issues/19767"},{"name":"https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/","refsource":"MISC","url":"https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/"},{"name":"https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991","refsource":"CONFIRM","url":"https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991"},{"name":"97481","refsource":"BID","url":"http://www.securityfocus.com/bid/97481"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://godoc.org/golang.org/x/crypto/ssh","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/golang/go/issues/19767","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/97481","name":"97481","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T14:16:28.305Z"}}]}}}