CVE-2020-1730: Null Pointer Dereference

Published Feb 12, 2020
·
Updated

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.

Other sources

A vulnerability was found in libssh through version 0.8.0, where a malicious client or server could crash the counterpart implemented with libssh AES-CTR ciphers are used and don't get fully initialized. It will crash when it tries to cleanup the AES-CTR ciphers when closing the connection.

— Red Hat

Affected Software

28 affected componentsFixes available
libssh libssh>=0.8.0<0.8.9
libssh libssh>=0.9.0<0.9.4
NetApp Cloud Backup
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
Fedoraproject Fedora=31
Fedoraproject Fedora=32
redhat Enterprise Linux=8.0
Oracle MySQL Workbench<=8.0.21
debian/libssh
0.9.8-0+deb11u10.9.8-0+deb11u20.10.6-0+deb12u20.10.6-0+deb12u10.11.2-1+deb13u10.11.3-1
redhat/libssh<0.8.9
0.8.9
redhat/libssh<0.9.4
0.9.4
alpine/libssh>=0.8.0<0.8.9-r0
0.8.9-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh>=0.9.0<0.9.4-r0
0.9.4-r0
alpine/libssh<0.7.6-r3
0.7.6-r3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libssh to a version that resolves this vulnerability.

    Fixed in 0.9.8-0+deb11u1Fixed in 0.9.8-0+deb11u2Fixed in 0.10.6-0+deb12u2Fixed in 0.10.6-0+deb12u1Fixed in 0.11.2-1+deb13u1Fixed in 0.11.3-1
  2. Upgrade

    Upgrade alpine/libssh to a version that resolves this vulnerability.

    Fixed in 0.8.9-r0
  3. Upgrade

    Upgrade alpine/libssh to a version that resolves this vulnerability.

    Fixed in 0.9.4-r0
  4. Upgrade

    Upgrade alpine/libssh to a version that resolves this vulnerability.

    Fixed in 0.7.6-r3
  5. Upgrade

    Upgrade redhat/libssh to a version that resolves this vulnerability.

    Fixed in 0.8.9
  6. Upgrade

    Upgrade redhat/libssh to a version that resolves this vulnerability.

    Fixed in 0.9.4
  7. Upgrade

    Upgrade libssh to a version that resolves this vulnerability.

    Fixed in 0.8.9
  8. Upgrade

    Upgrade libssh to a version that resolves this vulnerability.

    Fixed in 0.9.4

Event History

Feb 12, 2020
Data Sourced
via Red Hat·05:27 AM
DescriptionSeverityAffected Software
Apr 9, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Apr 13, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software
Nov 8, 2022
Data Sourced
08:09 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·03:19 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:19 AM
SeverityAffected Software
Updated
03:19 AM
Affected Software
Nov 21, 2024
Updated
via NVD·05:11 AM
RemedyAffected Software
Nov 17, 2026
Updated
via OSV·06:30 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2020-1730?

CVE-2020-1730 is a vulnerability in libssh versions before 0.8.9 and before 0.9.4 that could cause a crash when closing the connection.

2

How severe is CVE-2020-1730?

CVE-2020-1730 has a severity score of 5.3, which is considered medium severity.

3

Which software is affected by CVE-2020-1730?

CVE-2020-1730 affects libssh versions before 0.8.9 and before 0.9.4, as well as Netapp Cloud Backup, Canonical Ubuntu Linux 18.04 and 19.10, Fedora 31 and 32, Redhat Enterprise Linux 8.0, and Oracle Mysql Workbench 8.0.21.

4

How can I fix CVE-2020-1730?

To fix CVE-2020-1730, update libssh to version 0.8.9 or 0.9.4 if you are using it, and apply any available patches or updates for the affected software listed in the vulnerability description.

5

Where can I find more information about CVE-2020-1730?

You can find more information about CVE-2020-1730 in the references provided: [link 1], [link 2], [link 3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203