CVE-2020-1730
A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the connection. The biggest threat from this vulnerability is system availability.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: 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 18.04 | libssh | Fixed | 0.8.0~20170825.94fa1e38-1ubuntu0.6 | UBUNTU-CVE-2020-1730 |
| Ubuntu 16.04 | libssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | libssh | Fix pending | ||
| Debian 14 | libssh | Fixed | 0.9.4-1 | DEBIAN-CVE-2020-1730 |
| Debian 13 | libssh | Fixed | 0.9.4-1 | DEBIAN-CVE-2020-1730 |
| Debian 12 | libssh | Fixed | 0.9.4-1 | DEBIAN-CVE-2020-1730 |
| Red Hat Enterprise Linux 8 | libssh | Fixed | 0:0.9.4-2.el8 | RHSA-2020:4545 |
| Red Hat Enterprise Linux 8 | libssh-config | Fixed | 0:0.9.4-2.el8 | RHSA-2020:4545 |
| Red Hat Enterprise Linux 8 | libssh-devel | Fixed | 0:0.9.4-2.el8 | RHSA-2020:4545 |
| Red Hat Enterprise Linux 8 | libssh2 | Not affected | ||
| Red Hat Enterprise Linux 8 | libssh2-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libssh2-docs | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2 | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | libssh2 | Not affected | ||
| Red Hat Enterprise Linux 6 | libssh2-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libssh2-docs | Not affected | ||
| Rocky Linux 8 | libssh | Fixed | 0:0.9.4-2.el8 | RLSA-2020:4545 |
| Alpine Linux 3.24 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.23 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.22 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.21 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.20 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.19 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.18 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.17 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.16 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.15 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.14 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.13 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.12 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.11 | libssh | Fixed | 0.9.4-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.10 | libssh | Fixed | 0.8.9-r0 | ALPINE-CVE-2020-1730 |
| Alpine Linux 3.9 | libssh | Fixed | 0.7.6-r3 | ALPINE-CVE-2020-1730 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat libssh: affected: libssh versions before 0.8.9, libssh versions before 0.9.4
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://usn.ubuntu.com/4327-1/ (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLSWHBQ3EPKGTGLQNH554Z746BJ3C554/
- https://usn.ubuntu.com/4327-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2A7BIFKUYIYKTY7FX4BEWVC2OHS5DPOU/
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.libssh.org/security/advisories/CVE-2020-1730.txt
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1730
- https://security.netapp.com/advisory/ntap-20200424-0001/
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.