golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
Published Apr 4, 2017
8.1
HIGHCVSS 3.1
EPSS 3.16%
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.
Affected products
-
- Version prior to commit e4e2799StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Go | SSH library | n/a |
|
No data.
Red Hat Enterprise Linux 7
gomtree
Not affected
Red Hat Enterprise Linux 7
kubernetes
Not affected
Red Hat OpenShift Enterprise 3
atomic-openshift
Not affected
Red Hat Software Collections
rh-mongodb32-golang-googlecode-go-crypto
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | gomtree | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kubernetes | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | atomic-openshift | Not affected | n/a |
| Red Hat Software Collections | rh-mongodb32-golang-googlecode-go-crypto | Not affected | n/a |
golang.org/x/crypto
Go
Introduced 0 Fixed 0.0.0-20170330155735-e4e2799dd7aa
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | golang.org/x/crypto | 0 | 0.0.0-20170330155735-e4e2799dd7aa |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.16% (0.03156) | 87.52th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.16% (0.03156) | 86.25th | v5 (v2026.06.15) |
| Feb 8, 2026 | 0.53% (0.00534) | 66.85th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.19% (0.02187) | 82.89th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.48% (0.03482) | 79.05th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.19% (0.02187) | 83.23th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.24% (0.00237) | 62.63th | v3 (v2023.03.01) |
| Jun 18, 2024 | 0.24% (0.00237) | 61.92th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.24% (0.00237) | 59.91th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v1 |
| Jan 6, 2022 | 1.25% (0.01247) | 29.93th | v1 |
| Sep 1, 2021 | 1.25% (0.01247) | 68.62th | v1 |
| Apr 14, 2021 | 1.25% (0.01247) | 0.00th | v1 |
References (17)
- http://www.securityfocus.com/bid/97481 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-3204 Vendor Advisory
- https://bridge.grumpy-troll.org/2017/04/golang-ssh-security x_refsource_MISCThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1439748 Issue Tracking
- https://github.com/advisories/GHSA-xhjq-w7xm-p8qj Advisory
- https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/golang/go/issues/19767 x_refsource_CONFIRMThird Party Advisory
- https://go.dev/cl/340830
- https://go.dev/cl/38701
- https://go.dev/issue/19767
- https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991
- https://godoc.org/golang.org/x/crypto/ssh x_refsource_MISCVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-3204
- https://pkg.go.dev/vuln/GO-2020-0013
- https://web.archive.org/web/20170423080311/https://www.securityfocus.com/bid/97481
- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-3204
- https://www.cve.org/CVERecord?id=CVE-2017-3204
Change history (0)
No recorded changes yet.