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.
[
{
"product": "SSH library",
"vendor": "Go",
"versions": [
{
"status": "affected",
"version": "prior to commit e4e2799"
}
]
}
]