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.
References
Link | Resource |
---|---|
https://godoc.org/golang.org/x/crypto/ssh | Vendor Advisory |
https://github.com/golang/go/issues/19767 | Third Party Advisory |
https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 | Patch Third Party Advisory |
https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ | Third Party Advisory |
http://www.securityfocus.com/bid/97481 | Third Party Advisory VDB Entry |
Configurations
Information
Published : 2017-04-04 07:59
Updated : 2020-07-07 11:21
NVD link : CVE-2017-3204
Mitre link : CVE-2017-3204
JSON object : View
CWE
Products Affected
golang
- crypto