cve.bz

CVE-2020-29652 golang ssh: NULL Pointer Dereference

7.5 highEPSS 3.2%Fix available

High (7.5) in golang ssh. EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.0.0-20201216223049-8b5274cf687f.

On this page
A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote attackers to cause a denial of service against SSH servers.

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.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-2020-29652 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-29652?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-29652?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-2020-29652 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:sshthrough 0.0.0-20201203163018-be400aefbc4c

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3vm4-22fp-5rfmGogolang.org/x/crypto<0.0.0-20201216223049-8b5274cf687f0.0.0-20201216223049-8b5274cf687f
GO-2021-0227Gogolang.org/x/crypto<0.0.0-20201216223049-8b5274cf687f0.0.0-20201216223049-8b5274cf687f

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-go.crypto1:0.0~git20201221.eec23a3-1DEBIAN-CVE-2020-29652
Ubuntu22.04:LTSgolang-go.crypto1:0.0~git20201221.eec23a3-1UBUNTU-CVE-2020-29652
UbuntuPro:20.04:LTSgolang-go.cryptono fix listedUBUNTU-CVE-2020-29652
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more0:1.19.7-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcockpit-podman0:29-2.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.0.26-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.158.0-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource0:0.9.1-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcrit, criu, python3-criu and 2 more0:3.15-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:0.18-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.4.0-2.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.3.1-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamoci-seccomp-bpf-hook, oci-seccomp-bpf-hook-debuginfo, oci-seccomp-bpf-hook-debugsource0:1.2.0-2.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreampodman, podman-tests, podman-docker and 8 more0:3.0.1-6.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamrunc, runc-debuginfo, runc-debugsource0:1.0.0-70.rc92.module+el8.4.0+10607+f4da7515RHSA-2021:1796
4 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedvelero1.7.1-1.1openSUSE-SU-2024:11667-1
AlmaLinux8cockpit-podman29-2.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8conmon2:2.0.26-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8containernetworking-plugins0.9.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8crit, criu, python3-criu3.15-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8fuse-overlayfs1.4.0-2.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8libslirp, libslirp-devel4.3.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8slirp4netns1.1.8-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8udica0.2.4-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
Rocky Linux8buildah0:1.19.7-1.module+el8.4.0+558+7340b765RLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.4.0+556+40122d08RLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.5.0+709+440d5e7eRLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.6.0+783+10209741RLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.7.0+1076+9b1c11c1RLSA-2021:1796
Rocky Linux8conmon2:2.0.26-1.module+el8.4.0+558+7340b765RLSA-2021:1796
Rocky Linux8conmon2:2.0.26-1.module+el8.5.0+709+440d5e7eRLSA-2021:1796
Rocky Linux8conmon2:2.0.26-1.module+el8.6.0+783+10209741RLSA-2021:1796
Rocky Linux8container-selinux2:2.158.0-1.module+el8.4.0+558+7340b765RLSA-2021:1796
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.4.0+556+40122d08RLSA-2021:1796
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.5.0+709+440d5e7eRLSA-2021:1796
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.6.0+783+10209741RLSA-2021:1796
26 more for Rocky Linux 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; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A large number of products include the affected package, but do not make use of the vulnerable SSH server code. Accordingly, the flaw itself is rated as "Important", but these products themselves all have a "Low" severity rating.

Additionally, a number of products include golang.org/x/crypto (or even golang.org/x/crypto/ssh/terminal) but not specifically golang.org/x/crypto/ssh/server.go in the final build. As this would result in a very large number of entries of not affected products, only products which include the ssh server code (golang.org/x/crypto/ssh/server.go) have been represented here.

Red Hat Enterprise Linux 8 container-tools:rhel8/containernetworking-plugins is not affected because although it uses some functionality from golang.org/x/crypto, it does not use or import anything from golang.org/x/crypto/ssh/*.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8040020210407081426.59631bd5Fixed 2021-05-18RHSA-2021:1796
Red Hat OpenShift Container Platform 4.7openshift4/ose-aws-ebs-csi-driver-rhel8:v4.7.0-202102130115.p0Fixed 2021-02-24RHSA-2020:5633
Red Hat OpenShift Container Platform 4.7openshift4/ose-azure-machine-controllers:v4.7.0-202102130115.p0Fixed 2021-02-24RHSA-2020:5633
Red Hat OpenShift Container Platform 4.7openshift4/ose-baremetal-installer-rhel8:v4.7.0-202102130115.p0Fixed 2021-02-24RHSA-2020:5633
Red Hat OpenShift Container Platform 4.7openshift4/ose-installer:v4.7.0-202102130115.p0Fixed 2021-02-24RHSA-2020:5633
Red Hat OpenShift Container Platform 4.7openshift4/ose-installer-artifacts:v4.7.0-202102130115.p0Fixed 2021-02-24RHSA-2020:5633
RHEL-8-CNV-4.8container-native-virtualization/vm-import-operator-rhel8:v4.8.0-18Fixed 2021-07-28RHSA-2021:2920
OpenShift Service Mesh 2.03scale-istio-adapter-rhel8-containerAffected
OpenShift Service Mesh 2.0servicemeshAffected
OpenShift Service Mesh 2.0servicemesh-cniAffected
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 Enterprise Linux 7gomtreeOut of support scope
Red Hat OpenShift Container Platform 3.11atomic-openshiftFix deferred
Red Hat OpenShift Container Platform 3.11atomic-openshift-cluster-autoscalerFix deferred
Red Hat OpenShift Container Platform 3.11atomic-openshift-deschedulerFix deferred
Red Hat OpenShift Container Platform 3.11atomic-openshift-dockerregistryFix deferred
Red Hat OpenShift Container Platform 3.11atomic-openshift-service-idlerFix deferred
Red Hat OpenShift Container Platform 3.11atomic-openshift-web-consoleFix deferred
Red Hat OpenShift Container Platform 3.11csi-attacherFix deferred
38 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-2020-29652.

References

Check your stackJSON