CVE-2019-3857

NameCVE-2019-3857
DescriptionAn integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit signal are parsed. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1730-1, DSA-4431-1
Debian Bugs924965

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libssh2 (PTS)bullseye1.9.0-2+deb11u1fixed
bookworm1.10.0-3fixed
sid, trixie1.11.0-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libssh2sourcejessie1.4.3-4.1+deb8u2DLA-1730-1
libssh2sourcestretch1.7.0-1+deb9u1DSA-4431-1
libssh2source(unstable)1.8.0-2.1924965

Notes

https://www.libssh2.org/CVE-2019-3857.html
Patch: https://libssh2.org/1.8.0-CVE/CVE-2019-3857.patch
https://github.com/libssh2/libssh2/pull/315

Search for package or bug name: Reporting problems