Advisory

GHSA-xhjq-w7xm-p8qj

Also known as: CVE-2017-3204, GO-2020-0013

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-02-07 22:39 UTC
Modified
2024-04-19 21:43 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20170330155735-e4e2799dd7aa (semver)

Fixed versions

0.0.0-20170330155735-e4e2799dd7aa

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences