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.
https://github.com/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480
https://blog.semmle.com/libssh2-integer-overflow-CVE-2019-17498/
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00026.html
https://lists.debian.org/debian-lts-announce/2019/11/msg00010.html
https://github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9c
https://lists.debian.org/debian-lts-announce/2021/12/msg00013.html
Source: MITRE
Published: 2019-10-21
Updated: 2022-10-27
Type: CWE-190
Base Score: 5.8
Vector: AV:N/AC:M/Au:N/C:P/I:N/A:P
Impact Score: 4.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 8.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Impact Score: 5.2
Exploitability Score: 2.8
Severity: HIGH