PT-2018-2669 · Libssh2+5 · Libssh2+5

Chris Coulson

·

Published

2018-12-03

·

Updated

2024-06-15

·

CVE-2019-3857

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions libssh2 versions prior to 1.8.1
Description The issue is related to an integer overflow flaw in the way SSH MSG CHANNEL REQUEST packets with an exit signal are parsed. This could lead to an out of bounds write, allowing a remote attacker who compromises a SSH server to potentially execute code on the client system when a user connects to the server. The vulnerability can be exploited by a remote attacker to execute arbitrary code in the client system upon connection to the server.
Recommendations For libssh2 versions prior to 1.8.1, update to version 1.8.1 or later to resolve the issue. As a temporary workaround, consider restricting access to SSH servers until the update can be applied.

Exploit

Fix

Integer Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2019-1501
BDU:2019-01304
BDU:2019-03917
CESA-2019_0679
CESA-2019_1175
CESA-2019_1652
CVE-2019-3857
DLA-1730-1
DSA-4431-1
MGASA-2019-0139
OPENSUSE-SU-2019:1109-1
OPENSUSE-SU-2019_1075-1
OPENSUSE-SU-2019_1109-1
OPENSUSE-SU-2020:2126-1
OPENSUSE-SU-2020:2129-1
OPENSUSE-SU-2020_2126-1
OPENSUSE-SU-2020_2129-1
OPENSUSE-SU-2024:10999-1
RHSA-2019:0679
RHSA-2019:1175
RHSA-2019:1652
RHSA-2019:1791
RHSA-2019:1943
RHSA-2019:2399
RHSA-2019_0679
RHSA-2019_1175
RHSA-2019_1652
SUSE-SU-2019:0655-1
SUSE-SU-2019:13982-1
SUSE-SU-2019:13997-1
SUSE-SU-2020:3551-1
USN-5308-1

Affected Products

Alt Linux
Centos
Red Hat
Suse
Ubuntu
Libssh2