{"cve":"CVE-2017-3204","nvd":{"published":"2017-04-04T14:59:00.180","modified":"2026-06-17T01:17:43.813","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-310"],"references":["http://www.securityfocus.com/bid/97481","https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/","https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991","https://github.com/golang/go/issues/19767","https://godoc.org/golang.org/x/crypto/ssh"],"products":["golang:crypto"],"source":"nvd","synced_at":"2026-10-19T20:42:09.859288039+00:00"},"epss":{"cve":"CVE-2017-3204","score":0.03156,"percentile":0.87968,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xhjq-w7xm-p8qj","url":"https://osv.dev/vulnerability/GHSA-xhjq-w7xm-p8qj","summary":"golang.org/x/crypto/ssh Man-in-the-Middle attack","modified":"2024-04-19T21:43:20Z","packages":[{"ecosystem":"Go","name":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","ranges":["<0.0.0-20170330155735-e4e2799dd7aa"],"fixed":["0.0.0-20170330155735-e4e2799dd7aa"]}]},{"id":"GO-2020-0013","url":"https://osv.dev/vulnerability/GO-2020-0013","summary":"Man-in-the-middle attack in golang.org/x/crypto/ssh","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","ranges":["<0.0.0-20170330155735-e4e2799dd7aa"],"fixed":["0.0.0-20170330155735-e4e2799dd7aa"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}