CVEMETERBack to radar
OFFICIAL RECORD · Go packages

CVE-2017-3204

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T12:59:54.299ZFIRST EPSS
patchesverified2026-11-19T12:52:36.954ZOSV
affectedverified2026-11-19T12:54:56.845ZCVE Program
lifecycleverified2026-11-19T12:54:56.845ZCVE 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 JSON
OSV · 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagegolang.org/x/cryptoNot a distribution channel0.0.0-20170330155735-e4e2799dd7aaOfficial record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history