CVE-2017-3204
published 2017-04-04CVE-2017-3204: 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…
PriorityP339high8.1CVSS 3.1
AVNACHPRNUINSUCHIHAH
EPSS
3.16%
86.4th percentile
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
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-go.crypto | < golang-go.crypto 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1 (bookworm) | golang-go.crypto 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1 (bookworm) |
| go | ssh_library | — | — |
| golang.org | x_crypto | >= 0 < 0.0.0-20170330155735-e4e2799dd7aa | 0.0.0-20170330155735-e4e2799dd7aa |
| golang | crypto | <= 2017-03-17 | — |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.1HIGH
vendor_debian8.1HIGH
vendor_redhat8.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
vendor_redhat·2017-03-29·CVSS 8.1
CVE-2017-3204 [HIGH] golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
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.
Package: gomtree (Red Hat Enterprise Linux 7) - Not affected
Package: kubernetes (Red Hat Enterprise Linux 7) - Not affected
Package: atomic-openshift (Red Hat OpenShift Enterprise 3) - Not affected
Package: rh-mongodb32-golang-googlecode-go-crypto (Red Hat Software Collections) - Not affected
Debian
CVE-2017-3204: golang-go.crypto - The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilita...
vendor_debian·2017·CVSS 8.1
CVE-2017-3204 [HIGH] CVE-2017-3204: golang-go.crypto - The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilita...
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.
Scope: local
bookworm: resolved (fixed in 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1)
bullseye: resolved (fixed in 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1)
forky: resolved (fixed in 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1)
sid: resolved (fixed in 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1)
trixie: resolved (fixed in 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1)
OSV
golang.org/x/crypto/ssh Man-in-the-Middle attack
osv·2023-02-07
CVE-2017-3204 [HIGH] golang.org/x/crypto/ssh Man-in-the-Middle attack
golang.org/x/crypto/ssh Man-in-the-Middle attack
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.
GHSA
golang.org/x/crypto/ssh Man-in-the-Middle attack
ghsa·2023-02-07
CVE-2017-3204 [HIGH] golang.org/x/crypto/ssh Man-in-the-Middle attack
golang.org/x/crypto/ssh Man-in-the-Middle attack
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.
OSV
Man-in-the-middle attack in golang.org/x/crypto/ssh
osv·2021-04-14
CVE-2017-3204 Man-in-the-middle attack in golang.org/x/crypto/ssh
Man-in-the-middle attack in golang.org/x/crypto/ssh
By default host key verification is disabled which allows for man-in-the-middle attacks against SSH clients if ClientConfig.HostKeyCallback is not set.
OSV
CVE-2017-3204: The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks
osv·2017-04-04·CVSS 8.1
CVE-2017-3204 [HIGH] CVE-2017-3204: The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
bugzilla·2017-04-06·CVSS 8.1
CVE-2017-3204 [HIGH] CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
The Go SSH library (x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks.
Upstream bug:
https://github.com/golang/go/issues/19767
Upstream patch:
https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
Discussion:
Created golang tracking bugs for this issue:
Affects: epel-6 [bug 1439752]
Affects: fedora-all [bug 1439751]
Bugzilla
CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default [fedora-all]
bugzilla·2017-04-06·CVSS 8.1
CVE-2017-3204 [HIGH] CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default [fedora-all]
CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affec
Bugzilla
CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default [epel-6]
bugzilla·2017-04-06·CVSS 8.1
CVE-2017-3204 [HIGH] CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default [epel-6]
CVE-2017-3204 golang-googlecode-go-crypto: Go SSH library does not verify host keys by default [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following
http://www.securityfocus.com/bid/97481https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991https://github.com/golang/go/issues/19767https://godoc.org/golang.org/x/crypto/sshhttp://www.securityfocus.com/bid/97481https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991https://github.com/golang/go/issues/19767https://godoc.org/golang.org/x/crypto/ssh
2017-04-04
Published