CVE-2017-3204
CVE-2017-3204 is a high-severity vulnerability in Golang Crypto with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-310.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- CVSS v2: 6.8
- EPSS exploit prediction: 3% (86th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-310
- Affected product: Golang Crypto
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-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 require explicitly registering a hostkey verification mechanism.
- How severe is CVE-2017-3204?
- CVE-2017-3204 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2017-3204 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (86th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-3204?
- CVE-2017-3204 affects Golang Crypto. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2017-3204?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2017-3204 published?
- CVE-2017-3204 was published on 2017-04-04 and last updated on 2026-06-17.
References
- http://www.securityfocus.com/bid/97481
- https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/
- https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
- https://github.com/golang/go/issues/19767
- https://godoc.org/golang.org/x/crypto/ssh
Affected products (1)
- cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:*
More vulnerabilities in Golang Crypto
- CVE-2026-46595 — Critical (CVSS 10.0): Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of…
- CVE-2026-42508 — Critical (CVSS 9.1): Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key'…
- CVE-2026-39834 — Critical (CVSS 9.1): When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal payload…
- CVE-2026-39833 — Critical (CVSS 9.1): The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never…
- CVE-2026-39832 — Critical (CVSS 9.1): When adding a key to a remote agent constraint extensions such as [email protected] were not…
- CVE-2026-39831 — Critical (CVSS 9.1): The Verify() method for FIDO/U2F security key types ([email protected], [email protected])…
All CVEs affecting Golang Crypto →
Other CWE-310 (Cryptographic Issues) vulnerabilities
- CVE-2014-7878 — Critical (CVSS 10.0): The Application Lifecycle Service (ALS) in HP Helion Cloud Development Platform 1.0, when a virtual machine is derived…
- CVE-2013-3712 — Critical (CVSS 10.0): SUSE Studio Onsite 1.3.x before 1.3.6 and SUSE Studio Extension for System z 1.3 uses "static" secret tokens, which has…
- CVE-2013-6952 — Critical (CVSS 10.0): The Belkin WeMo Home Automation firmware before 3949 has a hardcoded GPG key, which makes it easier for remote…
- CVE-2013-6838 — Critical (CVSS 10.0): An unspecified Enghouse Interactive Professional Services "addon product" in Enghouse Interactive IVR Pro (VIP2000)…
- CVE-2013-0137 — Critical (CVSS 10.0): The default configuration of the Digital Alert Systems DASDEC EAS device before 2.0-2 and the Monroe Electronics R189…
- CVE-2011-5123 — Critical (CVSS 10.0): The Antivirus component in Comodo Internet Security before 5.3.175888.1227 does not check whether X.509 certificates in…