GHSA-xhjq-w7xm-p8qj

    Dashboard / Vulnerabilities / GHSA-xhjq-w7xm-p8qj

    GHSA-xhjq-w7xm-p8qj

    Published: 7 Feb 2023Last Modified: 19 Apr 2024

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

    Details: 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.

    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
    GHSA-xhjq-w7xm-p8qj | CVE-DB