CVE-2017-3204

high
Published 2017-04-04 · Modified 2024-05-20
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
not yet in upstream
VIR risk
8.1

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.

Predictions

Exploit likelihood
88%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2017-3204 NameCVE-2017-3204 DescriptionThe 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub…

CVE-2017-3204

NameCVE-2017-3204
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs859655

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-go.crypto (PTS)bullseye1:0.0~git20201221.eec23a3-1fixed
bookworm1:0.4.0-1fixed
trixie1:0.25.0-1fixed
forky, sid1:0.52.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-go.cryptosource(unstable)1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1859655

Notes

[jessie] - golang-go.crypto <ignored> (In jessie no rdeps using SSH, that version doesn't even support host key validation)
https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
https://github.com/golang/go/issues/19767

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[jessie] - golang-go.crypto <ignored> (In jessie no rdeps using SSH, that version doesn't even support host key validation)https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991https://github.com/golang/go/issues/19767

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1
sid Fixed 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1
forky Fixed 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1
bullseye Fixed 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1
bookworm Fixed 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1

Package impact

EcosystemPackageVulnerableFixed
golang Gogolang.org/x/crypto<0.0.0-20170330155735-e4e2799dd7aa0.0.0-20170330155735-e4e2799dd7aa

Application impact

VendorProductVersionsFixed
golang golangcrypto{"endIncluding":"2017-03-17"}

References

CWEs

CWE-310

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.