1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Michael Buckley f15b1e297f More 1.8.0 security fixes (#316)
* Defend against possible integer overflows in comp_method_zlib_decomp.

* Defend against writing beyond the end of the payload in _libssh2_transport_read().

* Sanitize padding_length - _libssh2_transport_read(). https://libssh2.org/CVE-2019-3861.html

This prevents an underflow resulting in a potential out-of-bounds read if a server sends a too-large padding_length, possibly with malicious intent.

* Prevent zero-byte allocation in sftp_packet_read() which could lead to an out-of-bounds read. https://libssh2.org/CVE-2019-3858.html

* Check the length of data passed to sftp_packet_add() to prevent out-of-bounds reads.

* Add a required_size parameter to sftp_packet_require et. al. to require callers of these functions to handle packets that are too short. https://libssh2.org/CVE-2019-3860.html

* Additional length checks to prevent out-of-bounds reads and writes in _libssh2_packet_add(). https://libssh2.org/CVE-2019-3862.html
2019-03-14 15:19:59 -07:00
2016-02-24 23:44:13 +01:00
2019-03-14 13:14:28 -07:00
2016-02-24 23:44:13 +01:00
2016-01-18 13:35:28 +01:00
2019-03-14 15:19:59 -07:00
2016-03-15 21:58:26 +00:00
2016-04-02 11:19:04 +01:00
2015-03-07 11:32:08 +01:00
2016-10-17 10:15:16 +02:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2014-08-31 00:41:58 +02:00
2011-04-04 13:31:33 +02:00
2016-02-24 23:44:13 +01:00
2011-04-04 13:31:33 +02:00
2016-02-24 23:44:13 +01:00
2016-09-27 00:17:29 +02:00
2019-03-14 13:14:28 -07:00

libssh2 - SSH2 library

libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.

Web site

Mailing list

BSD Licensed

Web site source code

Installation instructions:

Description
libssh2 - это библиотека, реализующая протокол SSH2, доступная по пересмотренной лицензии BSD
Readme 26 MiB
Languages
C 84.2%
CMake 3.7%
Perl 3.2%
M4 2.7%
Shell 2.3%
Other 3.7%