CVEfocus › CVE database › CVE-2017-3204

CVE-2017-3204

CVSS 8.1 HighEPSS 3.2% (higher than 88% of CVEs)Published 2017-04-04Updated 2024-08-05Assigner: certcc

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.

CWE-310

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
3Fix pending
6Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10snapdFix pendingUBUNTU-CVE-2017-3204
Ubuntu 26.04snapdWill not fix
ubuntu-snappy and snapd contain embedded copies of golang-go.crypto snapd doesn't use this particular part of golang-go.crypto as it doesn't act as a SSH client
UBUNTU-CVE-2017-3204
Ubuntu 25.10golang-go.cryptoNot affected
vulnerable_code_not_present
Ubuntu 25.10snapdWill not fix
ubuntu-snappy and snapd contain embedded copies of golang-go.crypto snapd doesn't use this particular part of golang-go.crypto as it doesn't act as a SSH client
UBUNTU-CVE-2017-3204
Ubuntu 24.04snapdWill not fix
ubuntu-snappy and snapd contain embedded copies of golang-go.crypto snapd doesn't use this particular part of golang-go.crypto as it doesn't act as a SSH client
UBUNTU-CVE-2017-3204
Ubuntu 22.04snapdWill not fix
ubuntu-snappy and snapd contain embedded copies of golang-go.crypto snapd doesn't use this particular part of golang-go.crypto as it doesn't act as a SSH client
UBUNTU-CVE-2017-3204
Ubuntu 20.04snapdFix pendingUBUNTU-CVE-2017-3204
Ubuntu 18.04snapdFix pendingUBUNTU-CVE-2017-3204
Ubuntu 16.04golang-go.cryptoWill not fix
ubuntu-snappy and snapd contain embedded copies of golang-go.crypto snapd doesn't use this particular part of golang-go.crypto as it doesn't act as a SSH client
UBUNTU-CVE-2017-3204
Ubuntu 16.04snapdWill not fix
ubuntu-snappy and snapd contain embedded copies of golang-go.crypto snapd doesn't use this particular part of golang-go.crypto as it doesn't act as a SSH client
UBUNTU-CVE-2017-3204
Debian 14golang-go.cryptoFixed1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1DEBIAN-CVE-2017-3204
Debian 13golang-go.cryptoFixed1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1DEBIAN-CVE-2017-3204
Debian 12golang-go.cryptoFixed1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1DEBIAN-CVE-2017-3204
Red Hat Enterprise Linux 7gomtreeNot affected
Red Hat Enterprise Linux 7kubernetesNot affected
Go librarygolang.org/x/cryptoFixed0.0.0-20170330155735-e4e2799dd7aaGHSA-xhjq-w7xm-p8qj

What the vendor says

As published in the CVE record by certcc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.