Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS14aGpxLXc3eG0tcDhxas4AAxeY

golang.org/x/crypto/ssh Man-in-the-Middle attack

The Go SSH library (golang.org/x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks if ClientConfig.HostKeyCallback is not set. Default behavior changed in commit e4e2799 to require explicitly registering a hostkey verification mechanism.

Permalink: https://github.com/advisories/GHSA-xhjq-w7xm-p8qj
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14aGpxLXc3eG0tcDhxas4AAxeY
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 year ago
Updated: about 15 hours ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-xhjq-w7xm-p8qj, CVE-2017-3204
References: Repository: https://github.com/golang/go
Blast Radius: 44.0

Affected Packages

go:golang.org/x/crypto
Dependent packages: 125,672
Dependent repositories: 269,003
Downloads:
Affected Version Ranges: < 0.0.0-20170330155735-e4e2799dd7aa
Fixed in: 0.0.0-20170330155735-e4e2799dd7aa
All affected versions:
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.18.0