Back
CVE-2017-3204
The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks. Default behavior changed…
High8.1EPSS 3.2%
- Published
- Updated
- Reserved
- Assigned by
- certcc
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.2% · top 12% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
Affected products
- affected prior to commit e4e2799
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogolang.org/x/cryptoGHSA-xhjq-w7xm-p8qj (opens in a new tab)
References (5)
- https://godoc.org/golang.org/x/crypto/ssh (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/golang/go/issues/19767 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 97481 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xhjq-w7xm-p8qj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-3204)Record last updated .