CVE-2017-3204
golang-googlecode-go-crypto: Go SSH library does not verify host keys by default
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-310
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | golang.org/x/crypto | <0.0.0-20170330155735-e4e2799dd7aa | 0.0.0-20170330155735-e4e2799dd7aa |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
fixed 4
golang-go-crypto
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-go-crypto | 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1 |
| 12 | golang-go-crypto | 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1 |
| 13 | golang-go-crypto | 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1 |
| 14 | golang-go-crypto | 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1 |
echo 1 release · 1 package
fixed 1
golang-go-crypto
| Release | Package | Fixed in |
|---|---|---|
| golang-go-crypto | 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/97481
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-3204
- bridge.grumpy-troll.org https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/
- github.com https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
- github.com https://github.com/golang/go/issues/19767
- go.dev https://go.dev/cl/38701
- go.dev https://go.dev/issue/19767
- go.googlesource.com https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991
- godoc.org https://godoc.org/golang.org/x/crypto/ssh
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-3204
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.