CVE-2017-3204
Go packages · 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.156% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T12:59:54.299Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:36.954Z | OSV |
| affected | verified | 2026-11-19T12:54:56.845Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:56.845Z | CVE Program |
Affected versions and configuration
Go SSH library; default status: unknown: prior to commit e4e2799 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go",
"product": "SSH library",
"versions": [
{
"status": "affected",
"version": "prior to commit e4e2799"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://godoc.org/golang.org/x/crypto/ssh",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/golang/go/issues/19767",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/97481",
"name": "97481",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T14:16:28.305Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xhjq-w7xm-p8qj",
"aliases": [
"CVE-2017-3204",
"GO-2020-0013"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20170330155735-e4e2799dd7aa"
}
]
}
],
"package": {
"name": "golang.org/x/crypto",
"purl": "pkg:golang/golang.org/x/crypto",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-xhjq-w7xm-p8qj/GHSA-xhjq-w7xm-p8qj.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-3204",
"type": "ADVISORY"
},
{
"url": "https://github.com/golang/go/issues/19767",
"type": "WEB"
},
{
"url": "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991",
"type": "WEB"
},
{
"url": "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security",
"type": "WEB"
},
{
"url": "https://go.dev/cl/340830",
"type": "WEB"
},
{
"url": "https://go.dev/cl/38701",
"type": "WEB"
},
{
"url": "https://go.dev/issue/19767",
"type": "WEB"
},
{
"url": "https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991",
"type": "WEB"
},
{
"url": "https://godoc.org/golang.org/x/crypto/ssh",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/vuln/GO-2020-0013",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20170423080311/https://www.securityfocus.com/bid/97481",
"type": "WEB"
},
{
"url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-3204",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2023-02-07T22:39:34Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2020-0013",
"aliases": [
"CVE-2017-3204",
"GHSA-xhjq-w7xm-p8qj"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20170330155735-e4e2799dd7aa"
}
]
}
],
"package": {
"name": "golang.org/x/crypto",
"purl": "pkg:golang/golang.org/x/crypto",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2020-0013.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/crypto/ssh",
"symbols": [
"Dial",
"NewClientConn"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/38701",
"type": "FIX"
},
{
"url": "https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991",
"type": "FIX"
},
{
"url": "https://go.dev/issue/19767",
"type": "REPORT"
},
{
"url": "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0013",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | golang.org/x/crypto | Not a distribution channel | 0.0.0-20170330155735-e4e2799dd7aa | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:36.954ZArchived source JSON
Source publication: 2023-02-07T22:39:34.000Z
Source modification: 2024-04-19T21:43:20.000ZDocument fingerprint
a32426225c1cf2a1ef21f83f6d667c7e3375c73249acdd2713963004c67fad7d - OSVConsulted: 2026-11-19T12:52:36.954ZArchived source JSON
Source publication: 2021-04-14T20:04:52.000Z
Source modification: 2024-05-20T16:03:47.000ZDocument fingerprint
a32426225c1cf2a1ef21f83f6d667c7e3375c73249acdd2713963004c67fad7d - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T12:59:54.299ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3125722b6baaadf93963ea939ab80fab306c9b43805f893ce32ce99cd33e15f4 - CVE ProgramConsulted: 2026-11-19T12:54:56.845ZArchived source JSON
Source publication: 2017-04-04T14:00:00.000Z
Source modification: 2024-08-05T14:16:28.305ZDocument fingerprint
a0219304582915936737f5abdfca4692de7a4bee5fc9ddb9a995ebe93fe8f737
Official status history
- UNKNOWN → PUBLISHED · · evidence