CVE-2017-3204

HIGH8.1EPSS 0.45%

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

Published: 2/7/2023Modified: 4/28/2026

Description

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References (14)