Skip to main content
← All vulnerabilities
CVE-2017-3204GHSA-XHJQ-W7XM-P8QJGO-2020-0013

The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.0-20170330155735-e4e2799dd7aa
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Go SSH library

    prior to commit e4e2799

  • golang.org/x/cryptoGo

    fixed in 0.0.0-20170330155735-e4e2799dd7aa

References 5

godoc.org

GitHub · golang/go

bridge.grumpy-troll.org

GitHub · golang/crypto

securityfocus.com