Feed
8.1HIGH
CVE-2017-3204golang.org/x/crypto/ssh Man-in-the-Middle attack
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.2% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 3.2%
- percentile 89%
- Fix
- Named by a source
- CVE published 14 Apr 2021 (approx.)
Reference
None of the "Needs attention" rules apply right now.
EPSS 3.2% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- golang.org/x/crypto (Go): upgrade to 0.0.0-20170330155735-e4e2799dd7aa or later on your release line.
- Patch: https://go.dev/cl/38701
- Patch: https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991
- Commit / pull request: https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
Who should check
golang.org/x/crypto (Go) pkg:golang/golang.org/x/crypto
- Affected< 0.0.0-20170330155735-e4e2799dd7aaFixed in0.0.0-20170330155735-e4e2799dd7aaOSV (GO-2020-0013)
Confirmed facts
- CVSS
- 8.1 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-xhjq-w7xm-p8qj)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2017-3204
- otherhttps://github.com/golang/go/issues/19767
- commit / pull requesthttps://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
- otherhttps://bridge.grumpy-troll.org/2017/04/golang-ssh-security
- otherhttps://go.dev/cl/340830
- patchhttps://go.dev/cl/38701
- otherhttps://go.dev/issue/19767
- patchhttps://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991
- otherhttps://godoc.org/golang.org/x/crypto/ssh
- otherhttps://pkg.go.dev/vuln/GO-2020-0013
- otherhttps://web.archive.org/web/20170423080311/https://www.securityfocus.com/bid/97481
- otherhttps://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-3204
- otherhttps://bridge.grumpy-troll.org/2017/04/golang-ssh-security/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-xhjq-w7xm-p8qj (GitHub Advisory Database), CC BY 4.0.
- GO-2020-0013 (Go Vulnerability Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 18 min ago · osv 18 min ago · nvd 18 min ago · epss 18 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-xhjq-w7xm-p8qj, GO-2020-0013