CVE-2020-29652 golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability

High 7.5 Published Updated

Remote attackers can cause a denial of service against SSH servers using the Go SSH library due to a nil pointer dereference.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-29652?

CVE-2020-29652 is a high-severity vulnerability in n/a, published on 17 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2020-29652?

3 open source packages ship an affected version, including golang.org/x/crypto. It affects 1 product.

PackageAffectedFixed in
golang.org/x/crypto GoAll versions0.0.0-20201216223049-8b5274cf687f
golang.org/x/crypto GoAll versions0.0.0-20201216223049-8b5274cf687f
golang.org/x/crypto GoAll versions0.0.0-20201216223049-8b5274cf687f
Linux distribution packages (1)
velero openSUSE:TumbleweedAll versions1.7.1-1.1

Products include Golang Ssh.

How do I fix CVE-2020-29652?

Upgrade golang.org/x/crypto to 0.0.0-20201216223049-8b5274cf687f or later.

Is CVE-2020-29652 being exploited?

There is no known exploitation of CVE-2020-29652 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-RN21890, CLEANSTART-2026-VL48294, DEBIAN-CVE-2020-29652, GHSA-3vm4-22fp-5rfm, GO-2021-0227, UBUNTU-CVE-2020-29652 and 1 more.

Is CVE-2020-29652 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free