cve.bz

CVE-2017-3204 golang crypto: Cryptographic Issues

8.1 highEPSS 3.2%Fix available

High (8.1) in golang crypto. EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.0.0-20170330155735-e4e2799dd7aa.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-310 Cryptographic Issues
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-3204 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-3204?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-3204?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-3204 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:cryptothrough 2017-03-17

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xhjq-w7xm-p8qjGogolang.org/x/crypto<0.0.0-20170330155735-e4e2799dd7aa0.0.0-20170330155735-e4e2799dd7aa
GO-2020-0013Gogolang.org/x/crypto<0.0.0-20170330155735-e4e2799dd7aa0.0.0-20170330155735-e4e2799dd7aa

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-go.crypto1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1DEBIAN-CVE-2017-3204
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 4 moresnapdno fix listedUBUNTU-CVE-2017-3204
UbuntuPro:16.04:LTSsnapd, golang-go.cryptono fix listedUBUNTU-CVE-2017-3204

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7gomtreeNot affected
Red Hat Enterprise Linux 7kubernetesNot affected
Red Hat OpenShift Enterprise 3atomic-openshiftNot affected
Red Hat Software Collectionsrh-mongodb32-golang-googlecode-go-cryptoNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-3204.

References

Check your stackJSON