Go Vulnerability Database
GO-2020-0013
Man-in-the-middle attack in golang.org/x/crypto/ssh
Details
By default host key verification is disabled which allows for man-in-the-middle attacks against SSH clients if ClientConfig.HostKeyCallback is not set.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/crypto | All versions before 0.0.0-20170330155735-e4e2799dd7aa (fixed in 0.0.0-20170330155735-e4e2799dd7aa) |