Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Go / SSH library | affected prior to commit e4e2799 |
CWE
CWE-310
References
- https://godoc.org/golang.org/x/crypto/ssh
- https://github.com/golang/go/issues/19767
- https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/
- https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
- http://www.securityfocus.com/bid/97481
ADP enrichment
No English description supplied.