CVE-2019-17498
published 2019-10-21CVE-2019-17498: 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…
PriorityP341high8.1CVSS 3.1
AVNACLPRNUIRSUCHINAH
EPSS
3.79%
88.8th percentile
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
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | libssh2 | < libssh2 1.9.0-1 (bookworm) | libssh2 1.9.0-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| libssh2 | libssh2 | <= 1.9.0 | — |
| libssh2 | libssh2 | >= 0 < 1.9.0-1 | 1.9.0-1 |
| libssh2 | libssh2 | >= 0 < 1.9.0-1 | 1.9.0-1 |
| libssh2 | libssh2 | >= 0 < 1.9.0-1 | 1.9.0-1 |
| libssh2 | libssh2 | >= 0 < 1.9.0-1 | 1.9.0-1 |
| libssh2 | libssh2 | >= 0 < 1.5.0-2ubuntu0.1+esm1 | 1.5.0-2ubuntu0.1+esm1 |
| msrc | cbl2_libssh2_1.9.0-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_libssh2_1.9.0-1_on_cbl_mariner_1.0 | — | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:P
osv8.1HIGH
vendor_debian8.1LOW
vendor_msrc8.1HIGH
vendor_oracle8.1HIGH
vendor_redhat8.1HIGH
vendor_ubuntu8.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-h2hf-mx7w-fhwm: In libssh2 v1
ghsa_unreviewed·2022-05-24
CVE-2019-17498 [MEDIUM] CWE-190 GHSA-h2hf-mx7w-fhwm: In libssh2 v1
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.
OSV
libssh2 vulnerabilities
osv·2022-03-07·CVSS 8.1
CVE-2019-3855 [HIGH] libssh2 vulnerabilities
libssh2 vulnerabilities
It was discovered that libssh2 mishandled certain input. If libssh2 were
used to connect to a malicious or compromised SSH server, a remote,
unauthenticated attacker could possibly execute arbitrary code on the client
system. (CVE-2019-3855)
It was discovered that libssh2 incorrectly handled prompt requests. A
remote attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-3856)
It was discovered that libssh2 incorrectly handled SSH_MSG_CHANNEL_REQUEST
packets. A remote attacker could possibly use this issue to execute
arbitrary code, cause a denial of service, or obtain sensitive information.
(CVE-2019-3857, CVE-2019-3862)
It was discovered that libssh2 incorrectly handled specially crafted SFTP
packets. A remote attacker could possibly use t
OSV
CVE-2019-17498: In libssh2 v1
osv·2019-10-21·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498: In libssh2 v1
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.
Oracle
Oracle Oracle Health Sciences Applications Risk Matrix: InForm Publisher (libssh2) — CVE-2019-17498
vendor_oracle·2023-10-15·CVSS 8.1
CVE-2019-17498 [HIGH] Oracle Oracle Health Sciences Applications Risk Matrix: InForm Publisher (libssh2) — CVE-2019-17498
Oracle Oracle Health Sciences Applications Risk Matrix: InForm Publisher (libssh2) vulnerability
CVE: CVE-2019-17498
CVSS: 8.1
Protocol: TLS
Remote exploit: Yes
Affected versions: Network
Advisory: cpuoct2023 (OCT 2023)
Ubuntu
libssh2 vulnerabilities
vendor_ubuntu·2022-03-07·CVSS 8.1
CVE-2019-3863 [HIGH] libssh2 vulnerabilities
Title: libssh2 vulnerabilities
Summary: Several security issues were fixed in libssh2.
It was discovered that libssh2 mishandled certain input. If libssh2 were
used to connect to a malicious or compromised SSH server, a remote,
unauthenticated attacker could possibly execute arbitrary code on the client
system. (CVE-2019-3855)
It was discovered that libssh2 incorrectly handled prompt requests. A
remote attacker could possibly use this issue to execute arbitrary code.
(CVE-2019-3856)
It was discovered that libssh2 incorrectly handled SSH_MSG_CHANNEL_REQUEST
packets. A remote attacker could possibly use this issue to execute
arbitrary code, cause a denial of service, or obtain sensitive information.
(CVE-2019-3857, CVE-2019-3862)
It was discovered that libssh2 incorrectly handled specia
Red Hat
libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
vendor_redhat·2019-10-16·CVSS 8.1
CVE-2019-17498 [HIGH] CWE-190 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
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.
Statement: This flaw needs a malicious MITM SSH server. When an application compiled with libssh2 connects to such a MITM SSH server, the server can trigger an integer overflow leading to an OOB read in the SSH_MSG_DISCONNECT logic. This can cause the application compiled with libssh2 to crash. This is strictly a client side crash and the SSH se
Microsoft
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 subs
vendor_msrc·2019-10-08·CVSS 8.1
CVE-2019-17498 [HIGH] CWE-190 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 subs
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparen
Debian
CVE-2019-17498: libssh2 - In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c...
vendor_debian·2019·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498: libssh2 - In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c...
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.
Scope: local
bookworm: resolved (fixed in 1.9.0-1)
bullseye: resolved (fixed in 1.9.0-1)
forky: resolved (fixed in 1.9.0-1)
sid: resolved (fixed in 1.9.0-1)
trixie: resolved (fixed in 1.9.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
bugzilla·2019-10-30·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple su
Bugzilla
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
bugzilla·2019-10-30·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
Bugzilla
CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
bugzilla·2019-10-30·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c
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
Reference:
https://blog.semmle.com/libssh2-integer-overflow-CVE-2019-17498/
https://github.com/kevinbackhouse/SecurityExploits/tree/8cbdbbe6363510f7d9ceec685373da12e6fc752d/libssh2/out_of_bounds_read_disconnect_CVE-2019-17498
https://github.com/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480
https://
Bugzilla
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [epel-7]
bugzilla·2019-10-30·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [epel-7]
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the followin
Bugzilla
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
bugzilla·2019-10-30·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
Bugzilla
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [epel-7]
bugzilla·2019-10-30·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [epel-7]
CVE-2019-17498 mingw-libssh2: libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the followin
Bugzilla
CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
bugzilla·2019-10-30·CVSS 8.1
CVE-2019-17498 [HIGH] CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
CVE-2019-17498 libssh2: integer overflow in SSH_MSG_DISCONNECT logic in packet.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple su
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00026.htmlhttp://packetstormsecurity.com/files/172835/libssh2-1.9.0-Out-Of-Bounds-Read.htmlhttps://blog.semmle.com/libssh2-integer-overflow-CVE-2019-17498/https://github.com/kevinbackhouse/SecurityExploits/tree/8cbdbbe6363510f7d9ceec685373da12e6fc752d/libssh2/out_of_bounds_read_disconnect_CVE-2019-17498https://github.com/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480https://github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9chttps://lists.debian.org/debian-lts-announce/2019/11/msg00010.htmlhttps://lists.debian.org/debian-lts-announce/2021/12/msg00013.htmlhttps://lists.debian.org/debian-lts-announce/2023/09/msg00006.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22H4Q5XMGS3QNSA7OCL3U7UQZ4NXMR5O/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TY7EEE34RFKCTXTMBQQWWSLXZWSCXNDB/https://security.netapp.com/advisory/ntap-20220909-0004/http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00026.htmlhttp://packetstormsecurity.com/files/172835/libssh2-1.9.0-Out-Of-Bounds-Read.htmlhttps://blog.semmle.com/libssh2-integer-overflow-CVE-2019-17498/https://github.com/kevinbackhouse/SecurityExploits/tree/8cbdbbe6363510f7d9ceec685373da12e6fc752d/libssh2/out_of_bounds_read_disconnect_CVE-2019-17498https://github.com/libssh2/libssh2/blob/42d37aa63129a1b2644bf6495198923534322d64/src/packet.c#L480https://github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9chttps://lists.debian.org/debian-lts-announce/2019/11/msg00010.htmlhttps://lists.debian.org/debian-lts-announce/2021/12/msg00013.htmlhttps://lists.debian.org/debian-lts-announce/2023/09/msg00006.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22H4Q5XMGS3QNSA7OCL3U7UQZ4NXMR5O/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TY7EEE34RFKCTXTMBQQWWSLXZWSCXNDB/https://security.netapp.com/advisory/ntap-20220909-0004/
2019-10-21
Published