Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/crypto/ssh
  4. ›
  5. CVE-2022-27191

CVE-2022-27191: Use of a Broken or Risky Cryptographic Algorithm

March 19, 2022 (updated March 30, 2022)

golang.org/x/crypto/ssh before 0.0.0-20220314234659-1baeb1ce4c0b in Go through 1.16.15 and 1.17.x through 1.17.8 allows an attacker to crash a server in certain circumstances involving AddHostKey.

References

  • github.com/advisories/GHSA-8c26-wmh5-6g9v
  • groups.google.com/g/golang-announce
  • groups.google.com/g/golang-announce/c/-cp44ypCT5s
  • nvd.nist.gov/vuln/detail/CVE-2022-27191

Code Behaviors & Features

Detect and mitigate CVE-2022-27191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.0-20220214200702-86341886e292

Fixed versions

  • 0.0.0-20220315160706-3147a52a75dd

Solution

Upgrade to version 0.0.0-20220315160706-3147a52a75dd or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

go/golang.org/x/crypto/ssh/CVE-2022-27191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.