CVEvulnerability
CVE-2017-3204
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-04-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-310
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.
Affected configurations
• golang crypto (<= 2017-03-17)
Related
Weakness · not in database (1)
References
- http://www.securityfocus.com/bid/97481 Third Party Advisory, VDB Entry
- https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ Third Party Advisory
- https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 Patch, Third Party Advisory
- https://github.com/golang/go/issues/19767 Third Party Advisory
- https://godoc.org/golang.org/x/crypto/ssh Vendor Advisory
- http://www.securityfocus.com/bid/97481 Third Party Advisory, VDB Entry
- https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ Third Party Advisory
- https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 Patch, Third Party Advisory
- https://github.com/golang/go/issues/19767 Third Party Advisory
- https://godoc.org/golang.org/x/crypto/ssh Vendor Advisory