High severity8.1NVD Advisory· Published Apr 4, 2017· Updated Jun 17, 2026
CVE-2017-3204
CVE-2017-3204
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
golang.org/x/cryptoGo | < 0.0.0-20170330155735-e4e2799dd7aa | 0.0.0-20170330155735-e4e2799dd7aa |
Affected products
3- Go/SSH libraryv5Range: prior to commit e4e2799
Patches
Vulnerability mechanics
References
15- github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991nvdPatchThird Party AdvisoryWEB
- www.securityfocus.com/bid/97481nvdThird Party AdvisoryVDB Entry
- bridge.grumpy-troll.org/2017/04/golang-ssh-security/nvdThird Party Advisory
- github.com/advisories/GHSA-xhjq-w7xm-p8qjghsaADVISORY
- github.com/golang/go/issues/19767nvdThird Party AdvisoryWEB
- godoc.org/golang.org/x/crypto/sshnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2017-3204ghsaADVISORY
- bridge.grumpy-troll.org/2017/04/golang-ssh-securityghsaWEB
- go.dev/cl/340830ghsaWEB
- go.dev/cl/38701ghsaWEB
- go.dev/issue/19767ghsaWEB
- go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991ghsaWEB
- pkg.go.dev/vuln/GO-2020-0013ghsaWEB
- web.archive.org/web/20170423080311/https://www.securityfocus.com/bid/97481ghsaWEB
- web.nvd.nist.gov/view/vuln/detailghsaWEB
News mentions
0No linked articles in our index yet.