GO-2020-0013
Dashboard / Vulnerabilities / GO-2020-0013
GO-2020-0013
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
Summary: Man-in-the-middle attack in golang.org/x/crypto/ssh
Details: By default host key verification is disabled which allows for man-in-the-middle attacks against SSH clients if ClientConfig.HostKeyCallback is not set.
References: https://go.dev/cl/38701, https://go.googlesource.com/crypto/+/e4e2799dd7aab89f583e1d898300d96367750991, https://go.dev/issue/19767, https://bridge.grumpy-troll.org/2017/04/golang-ssh-security/
Affected packages
Package
Name: golang.org/x/crypto
Purl: pkg:golang/golang.org/x/crypto
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.0.0-20170330155735-e4e2799dd7aa
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
