8.1
HIGH
CVE-2017-3204
OpenSSH Go Library Host Key Verification Bypass
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.

INFO

Published Date :

April 4, 2017, 2:59 p.m.

Last Modified :

July 7, 2020, 6:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2017-3204 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-3204 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Golang crypto
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-3204.

URL Resource
http://www.securityfocus.com/bid/97481 Third Party Advisory VDB Entry
https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ Third Party Advisory
https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 Patch Third Party Advisory
https://github.com/golang/go/issues/19767 Third Party Advisory
https://godoc.org/golang.org/x/crypto/ssh Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

easy way to distribute commands over ssh.

Go

Updated: 4 months, 2 weeks ago
167 stars 10 fork 10 watcher
Born at : Sept. 1, 2016, 11:28 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-3204 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-3204 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Jul. 07, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed CPE Configuration OR *cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:* versions up to (including) 03-17-2017 OR *cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:* versions up to (including) 2017-03-17
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE CERT/CC CWE-310
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-320 NVD-CWE-noinfo
  • Initial Analysis by [email protected]

    Apr. 11, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 No Types Assigned https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991 Patch, Third Party Advisory
    Changed Reference Type https://github.com/golang/go/issues/19767 No Types Assigned https://github.com/golang/go/issues/19767 Third Party Advisory
    Changed Reference Type https://godoc.org/golang.org/x/crypto/ssh No Types Assigned https://godoc.org/golang.org/x/crypto/ssh Vendor Advisory
    Changed Reference Type https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ No Types Assigned https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/ Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/97481 No Types Assigned http://www.securityfocus.com/bid/97481 Third Party Advisory, VDB Entry
    Added CWE CWE-320
    Added CPE Configuration OR *cpe:2.3:a:golang:crypto:03-17-2017:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Apr. 08, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/97481 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-3204 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-3204 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.24 }} 0.00%

score

0.59914

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability