CVE-2021-43565
The x/crypto/ssh package before 0.0.0-20211202192323-5770296d904e of golang.org/x/crypto allows an attacker to panic an SSH server.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-go.crypto | Fix pending | UBUNTU-CVE-2021-43565 | |
| Ubuntu 26.04 | golang-go.crypto | Fix pending | UBUNTU-CVE-2021-43565 | |
| Ubuntu 26.04 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | golang-go.crypto | Will not fix snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto snapd and lxd only use the… | UBUNTU-CVE-2021-43565 | |
| Ubuntu 25.10 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | golang-go.crypto | Fix pending | UBUNTU-CVE-2021-43565 | |
| Ubuntu 24.04 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | golang-go.crypto | Fix pending | UBUNTU-CVE-2021-43565 | |
| Ubuntu 22.04 | snapd | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | golang-go.crypto | Fix pending | UBUNTU-CVE-2021-43565 | |
| Ubuntu 20.04 | lxd | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | golang-go.crypto | Fix pending | UBUNTU-CVE-2021-43565 | |
| Ubuntu 16.04 | golang-go.crypto | Will not fix snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto snapd and lxd only use the… | UBUNTU-CVE-2021-43565 | |
| Ubuntu 16.04 | lxd | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | snapd | Not affected vulnerable_code_not_present | ||
| Debian 14 | golang-go.crypto | Fixed | 1:0.0~git20211202.5770296-1 | DEBIAN-CVE-2021-43565 |
| Debian 13 | golang-go.crypto | Fixed | 1:0.0~git20211202.5770296-1 | DEBIAN-CVE-2021-43565 |
| Debian 12 | golang-go.crypto | Fixed | 1:0.0~git20211202.5770296-1 | DEBIAN-CVE-2021-43565 |
| Red Hat Enterprise Linux 9 | go-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | golang | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-bin | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-misc | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-race | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-src | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | go-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | golang | Not affected | ||
| Red Hat Enterprise Linux 8 | golang-bin | Not affected | ||
| Red Hat Enterprise Linux 8 | golang-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | golang-misc | Not affected | ||
| Red Hat Enterprise Linux 8 | golang-race | Not affected | ||
| Red Hat Enterprise Linux 8 | golang-src | Not affected | ||
| Red Hat Enterprise Linux 8 | golang-tests | Not affected | ||
| Red Hat Enterprise Linux 7 | golang | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-bin | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-misc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-src | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-tests | Will not fix Out of support scope | ||
| Go library | golang.org/x/crypto | Fixed | 0.0.0-20211202192323-5770296d904e | GHSA-gwc9-m7rh-j2ww |
References
- https://groups.google.com/forum/#%21forum/golang-announce
- https://groups.google.com/g/golang-announce/c/2AR1sKiM-Qs
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.