Out-of-bounds write in libssh2 - CVE-2020-22218

 

Out-of-bounds write in libssh2 - CVE-2020-22218

Published: September 7, 2023


Vulnerability identifier: #VU80523
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-22218
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libssh2.org
Affected software:
libssh2

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to usage of an uninitialized value within the _libssh2_transport_read() function in transport.c. A remote attacker can pass specially crafted input to the application, trigger memory corruption and perform a denial of service (DoS) attack.


How to mitigate CVE-2020-22218

Install updates from vendor's website.

Sources