gsd-2017-3204
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2017-3204",
    "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.",
    "id": "GSD-2017-3204"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2017-3204"
      ],
      "details": "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.",
      "id": "GSD-2017-3204",
      "modified": "2023-12-13T01:21:16.710843Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cert@cert.org",
        "ID": "CVE-2017-3204",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "SSH library",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "prior to commit e4e2799"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Go"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-310"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://godoc.org/golang.org/x/crypto/ssh",
            "refsource": "MISC",
            "url": "https://godoc.org/golang.org/x/crypto/ssh"
          },
          {
            "name": "https://github.com/golang/go/issues/19767",
            "refsource": "CONFIRM",
            "url": "https://github.com/golang/go/issues/19767"
          },
          {
            "name": "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/",
            "refsource": "MISC",
            "url": "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/"
          },
          {
            "name": "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991",
            "refsource": "CONFIRM",
            "url": "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991"
          },
          {
            "name": "97481",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/97481"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c0.0.0-20170330155735-e4e2799dd7aa",
          "affected_versions": "All versions before 0.0.0-20170330155735-e4e2799dd7aa",
          "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-02-24",
          "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.",
          "fixed_versions": [
            "0.0.0-20170330155735-e4e2799dd7aa"
          ],
          "identifier": "CVE-2017-3204",
          "identifiers": [
            "GHSA-xhjq-w7xm-p8qj",
            "CVE-2017-3204"
          ],
          "not_impacted": "All versions starting from 0.0.0-20170330155735-e4e2799dd7aa",
          "package_slug": "go/golang.org/x/crypto",
          "pubdate": "2023-02-07",
          "solution": "Upgrade to version 0.0.0-20170330155735-e4e2799dd7aa or above.",
          "title": "Go SSH library vulnerable to Man-in-the-Middle attacks",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-3204",
            "https://github.com/golang/go/issues/19767",
            "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991",
            "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/",
            "https://go.dev/cl/340830",
            "https://go.dev/issue/19767",
            "https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991",
            "https://godoc.org/golang.org/x/crypto/ssh",
            "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://github.com/advisories/GHSA-xhjq-w7xm-p8qj"
          ],
          "uuid": "6ea31b20-cbda-4d97-8c42-13bf11478aa8"
        },
        {
          "affected_range": "\u003c0.0.0-20170330155735-e4e2799dd7aa",
          "affected_versions": "All versions before 0.0.0-20170330155735-e4e2799dd7aa",
          "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-02-07",
          "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.",
          "fixed_versions": [
            "0.0.0-20170330155735-e4e2799dd7aa"
          ],
          "identifier": "CVE-2017-3204",
          "identifiers": [
            "GHSA-xhjq-w7xm-p8qj",
            "CVE-2017-3204"
          ],
          "not_impacted": "All versions starting from 0.0.0-20170330155735-e4e2799dd7aa",
          "package_slug": "go/golang.org/x/crypto/ssh",
          "pubdate": "2023-02-07",
          "solution": "Upgrade to version 0.0.0-20170330155735-e4e2799dd7aa or above.",
          "title": "Go SSH library vulnerable to Man-in-the-Middle attacks",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-3204",
            "https://github.com/golang/go/issues/19767",
            "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991",
            "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/",
            "https://go.dev/cl/340830",
            "https://go.dev/issue/19767",
            "https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991",
            "https://godoc.org/golang.org/x/crypto/ssh",
            "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://github.com/advisories/GHSA-xhjq-w7xm-p8qj"
          ],
          "uuid": "b361bd0d-25fe-4c9b-8e1c-be737f9f6a96"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "2017-03-17",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cert@cert.org",
          "ID": "CVE-2017-3204"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://godoc.org/golang.org/x/crypto/ssh",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://godoc.org/golang.org/x/crypto/ssh"
            },
            {
              "name": "https://github.com/golang/go/issues/19767",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/golang/go/issues/19767"
            },
            {
              "name": "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991"
            },
            {
              "name": "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/"
            },
            {
              "name": "97481",
              "refsource": "BID",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/97481"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.2,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2020-07-07T18:21Z",
      "publishedDate": "2017-04-04T14:59Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.