Vulnerabilities · 2019 · Libssh2
CVE-2019-17498
Libssh2 vulnerability
In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server.
Affected products
Libssh2, Fedora, Leap, Debian Linux, Active Iq Unified Manager, Element Software, Hci Management Node, Ontap Select Deploy Administration Utility, Solidfire, Bootstrap Os and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libssh2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9c · Patch
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00026.html · Third Party Advisory
- github.com/kevinbackhouse/SecurityExploits/tree/8cbdbbe6363510f7d9ceec685373da12e6fc752d/l · Exploit
- github.com/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480 · Exploit
- lists.debian.org/debian-lts-announce/2019/11/msg00010.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/12/msg00013.html · Third Party Advisory
- security.netapp.com/advisory/ntap-20220909-0004/ · Third Party Advisory
- packetstormsecurity.com/files/172835/libssh2-1.9.0-Out-Of-Bounds-Read.html
- nvd.nist.gov/vuln/detail/CVE-2019-17498
- cve.org/CVERecord?id=CVE-2019-17498
More vulnerabilities in Libssh2 products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.