Insecure Host Key Verification in Go SSH Library

Insecure Host Key Verification in Go SSH Library

CVE-2017-3204 · HIGH Severity

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.