GHSA-xhjq-w7xm-p8qj

Suggest an improvement
Source
https://github.com/advisories/GHSA-xhjq-w7xm-p8qj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-xhjq-w7xm-p8qj/GHSA-xhjq-w7xm-p8qj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xhjq-w7xm-p8qj
Aliases
Published
2023-02-07T22:39:34Z
Modified
2024-04-19T21:43:20Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": null,
    "severity": "HIGH",
    "github_reviewed_at": "2023-02-07T22:39:34Z",
    "github_reviewed": true,
    "cwe_ids": []
}
References

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20170330155735-e4e2799dd7aa