Allele Security Alert
Possible integer overflow leading to zero-byte allocation and out-of-bounds write
The libssh2 project
libssh2 versions 1.2.8 up to and including 1.8.0
Proof of concept
A server could send a SSH_MSG_CHANNEL_REQUEST packet with an exit signal message with a length of max unsigned integer value. The length would then have a value of 1 added to it and used to allocate memory causing a possible memory write out of bounds error or zero byte allocation (CWE-130).
Chris Coulson (Canonical Ltd)
libssh2 Security Advisory: CVE-2019-3857
[SECURITY ADVISORIES] libssh2
Security fixes (#315) · libssh2/libssh2@dc109a7
Security fixes by willco007 · Pull Request #315 · libssh2/libssh2
CVE-2019-3857 - Red Hat Customer Portal
CVE-2019-3857 | SUSE
If there is any error in this alert or you wish a comprehensive analysis, let us know.
Last modified: March 19, 2019