cve.bz

CVE-2022-27191

7.5 highEPSS 3.9%Fix available

High (7.5). EPSS 3.9% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.0.0-20220314234659-1baeb1ce4c0b.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.9% (unchanged from 4.0% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-27191 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-27191?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-27191?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-27191 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:sshbefore 0.0.0-20220314234659-1baeb1ce4c0b
fedoraproject:extra_packages_for_enterprise_linux8.0
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36
redhat:advanced_cluster_management_for_kubernetes2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8c26-wmh5-6g9vGogolang.org/x/crypto<0.0.0-20220314234659-1baeb1ce4c0b0.0.0-20220314234659-1baeb1ce4c0b
GO-2021-0356Gogolang.org/x/crypto<0.0.0-20220314234659-1baeb1ce4c0b0.0.0-20220314234659-1baeb1ce4c0b

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-go.crypto1:0.0~git20220315.3147a52-1DEBIAN-CVE-2022-27191
Ubuntu25.10, 26.10, Pro:16.04:LTS and 5 moregolang-go.cryptono fix listedUBUNTU-CVE-2022-27191
Red Hatcontainer_native_virtualization:4.11::el7kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.11.0-643.el7RHSA-2022:6527
Red Hatcontainer_native_virtualization:4.11::el8kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.11.0-643.el8RHSA-2022:6527
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.1.0-4.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.5-2.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.27.0-2.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreamcockpit-podman0:53-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-1.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.4-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.189.0-1.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.189.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-2.module+el8.7.0+16520+2db5507dRHSA-2022:7469
210 more for Red Hat in the JSON and on Red Hat's page.
SUSEEL-9:Update:Products:ManagerTools:Updategolang-packaging15.0.16-1.3.2SUSE-SU-2023:2185-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSgolang-github-prometheus-node_exporter1.5.0-1.6.1SUSE-SU-2023:2185-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSprometheus-postgres_exporter0.10.1-1.6.2SUSE-SU-2023:2185-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 22 morecontainerd1.5.11-150000.68.1SUSE-SU-2022:1689-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 21 moredocker20.10.14_ce-150000.163.1SUSE-SU-2022:1689-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 22 morecontainerd1.6.12-150000.79.1SUSE-SU-2022:4463-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 14 moregolang-github-prometheus-node_exporter1.5.0-150100.3.23.2SUSE-SU-2023:2187-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moredocker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 1 morepodman3.4.7-150300.9.9.2SUSE-SU-2022:2839-1
SUSELinux Enterprise Module for Containers 12containerd1.5.11-16.57.1SUSE-SU-2022:1507-1
SUSELinux Enterprise Module for Containers 12containerd1.6.12-16.68.1SUSE-SU-2022:4409-1
SUSELinux Enterprise Module for Containers 12docker20.10.14_ce-98.80.1SUSE-SU-2022:1507-1
36 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3podman3.4.7-150300.9.9.2SUSE-SU-2022:2839-1
openSUSELeap 15.3, Leap 15.4containerd1.5.11-150000.68.1SUSE-SU-2022:1689-1
openSUSELeap 15.3, Leap 15.4docker, docker-kubic20.10.14_ce-150000.163.1SUSE-SU-2022:1689-1
openSUSELeap 15.3, Leap 15.4, Leap Micro 5.2 and 1 morecontainerd1.6.12-150000.79.1SUSE-SU-2022:4463-1
openSUSELeap 15.4golang-github-prometheus-alertmanager0.23.0-150100.4.13.2SUSE-SU-2023:2187-1
openSUSELeap 15.4golang-github-prometheus-node_exporter1.5.0-150100.3.23.2SUSE-SU-2023:2187-1
openSUSELeap 15.4podman3.4.7-150400.4.3.1SUSE-SU-2022:2834-1
openSUSELeap 15.6coredns1.11.3-bp156.4.3.1openSUSE-SU-2024:0319-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
openSUSELeap Micro 5.2podman3.4.7-150300.9.9.2SUSE-SU-2022:2839-2
openSUSETumbleweedcontainerd1.6.9-1.1openSUSE-SU-2024:12550-1
openSUSETumbleweedcoredns1.10.0-1.1openSUSE-SU-2024:12490-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8buildah, buildah-tests1:1.24.5-2.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8conmon2:2.1.4-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8container-selinux2:2.189.0-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8containernetworking-plugins1:1.1.1-2.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8containers-common2:1-35.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8crit, criu, criu-libs and 2 more3.15-3.module_el8.6.0+2877+8e437bf5ALSA-2022:7469
AlmaLinux8crit, criu, criu-libs and 2 more3.15-3.module_el8.6.0+3137+d33c3efbALSA-2022:7469
AlmaLinux8crun1.5-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8fuse-overlayfs1.9-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8libslirp, libslirp-devel4.4.0-1.module_el8.6.0+2877+8e437bf5ALSA-2022:7469
AlmaLinux8libslirp, libslirp-devel4.4.0-1.module_el8.6.0+3137+d33c3efbALSA-2022:7469
1 more for AlmaLinux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In OpenShift Container Platform (OCP) the vulnerable golang.org/x/crypto/ssh package is bundled in many components. The affected code is in the SSH server portion that is not used, hence the impact by this vulnerability is reduced. Additionally the OCP installer components, that also bundle vulnerable golang.org/x/crypto/ssh package, are used only during the cluster installation process, hence for already deployed and running OCP clusters the installer components are considered as affected by this vulnerability but not impacted.

ProductPackageStateAdvisory
OADP-1.1-RHEL-8oadp/oadp-velero-rhel8:1.1.1-20Fixed 2022-11-28RHSA-2022:8634
Openshift Serverless 1 on RHEL 8openshift-serverless-clients-0:1.5.0-3.el8Fixed 2022-12-12RHSA-2022:8932
Red Hat Enterprise Linux 8container-tools:rhel8-8070020220929222448.39077419Fixed 2022-11-08RHSA-2022:7457
Red Hat Enterprise Linux 8container-tools:4.0-8070020220830101436.39077419Fixed 2022-11-08RHSA-2022:7469
Red Hat Enterprise Linux 9podman-2:4.2.0-3.el9Fixed 2022-11-15RHSA-2022:7954
Red Hat Enterprise Linux 9buildah-1:1.27.0-2.el9Fixed 2022-11-15RHSA-2022:8008
Red Hat OpenShift Container Platform 4.11cri-o-0:1.24.1-11.rhaos4.11.gitb0d2ef3.el8Fixed 2022-08-10RHSA-2022:5068
Red Hat OpenShift Container Platform 4.11openshift4/ose-aws-ebs-csi-driver-rhel8:v4.11.0-202208020235.p0.g7564046.assembly.streamFixed 2022-08-10RHSA-2022:5069
Red Hat OpenShift Container Platform 4.11openshift4/ose-azure-disk-csi-driver-rhel8:v4.11.0-202208020235.p0.g0fe424e.assembly.streamFixed 2022-08-10RHSA-2022:5069
Red Hat OpenShift Container Platform 4.11openshift4/ose-azure-file-csi-driver-rhel8:v4.11.0-202208020235.p0.g67c3831.assembly.streamFixed 2022-08-10RHSA-2022:5069
Migration Toolkit for ContainerscpmaAffected
Migration Toolkit for Containersrhmtc/openshift-migration-controller-rhel8Affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-rhel8Affected
OpenShift Developer Tools and ServicesodoWill not fix
OpenShift Service Mesh 2.0servicemeshAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/agent-service-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-release-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/openshift-hive-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-mover-rclone-rhel8Affected
99 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-27191.

References

Check your stackJSON