GHSA-xhjq-w7xm-p8qjHighCVSS 8.1

golang.org/x/crypto/ssh Man-in-the-Middle attack

Published
February 7, 2023
Last Modified
April 19, 2024

🔗 CVE IDs covered (1)

📋 Description

The Go SSH library (golang.org/x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks if ClientConfig.HostKeyCallback is not set. Default behavior changed in commit e4e2799 to require explicitly registering a hostkey verification mechanism.

🎯 Affected products1

  • go/golang.org/x/crypto:< 0.0.0-20170330155735-e4e2799dd7aa

🔗 References (13)