Allele Security Alert
Possible zero-byte allocation leading to an out-of-bounds read
The libssh2 project
libssh2 versions 0.3 up to and including 1.8.0
Proof of concept
A server could send a specially crafted partial SFTP packet with a zero value for the payload length. This zero value would be used to then allocate memory resulting in a zero byte allocation and possible out of bounds read (CWE-130).
Chris Coulson (Canonical Ltd)
libssh2 Security Advisory: CVE-2019-3858
[SECURITY ADVISORIES] libssh2
Security fixes (#315) · libssh2/libssh2@dc109a7
Security fixes by willco007 · Pull Request #315 · libssh2/libssh2
CVE-2019-3858 - Red Hat Customer Portal
CVE-2019-3858 | SUSE
If there is any error in this alert or you wish a comprehensive analysis, let us know.
Last modified: March 19, 2019