GSD-2017-3204

Vulnerability from gsd - Updated: 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…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…