CVE-2022-27191Golang Ssh
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Ssh We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Mar 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The golang.org/x/crypto/ssh package before 0.0.0-20220314234659-1baeb1ce4c0b for Go allows an attacker to crash a server in certain circumstances involving AddHostKey.
What to do
- Apply the vendor's security update for Ssh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/crypto |
< 0.0.0-20220314234659-1baeb1ce4c0b |
0.0.0-20220314234659-1baeb1ce4c0b |
go get golang.org/x/crypto@v0.0.0-20220314234659-1baeb1ce4c0b |
| Go | golang.org/x/crypto |
< 0.0.0-20220314234659-1baeb1ce4c0b |
0.0.0-20220314234659-1baeb1ce4c0b |
go get golang.org/x/crypto@v0.0.0-20220314234659-1baeb1ce4c0b |
Per OSV / GitHub Advisories (GHSA-8c26-wmh5-6g9v, GO-2021-0356). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | ssh | < 0.0.0-20220314234659-1baeb1ce4c0b |
| fedoraproject | extra_packages_for_enterprise_linux | 8.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| redhat | advanced_cluster_management_for_kubernetes | 2.0 |
Official advisories
- Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security and bug fix updates · Red Hat · RHSA-2026:61939 · Dec 1, 2026 High
- Red Hat Security Advisory: OpenShift Container Platform 4.13.0 security update · Red Hat · RHSA-2023:1325 · Oct 2, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- groups.google.com Mailing List Third Party Advisory
- groups.google.com Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory