CVE-2019-13115

NameCVE-2019-13115
DescriptionIn libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow that could lead to an out-of-bounds read in the way packets are read from the server. A remote attacker who compromises a SSH server may be able to disclose sensitive information or cause a denial of service condition on the client system when a user connects to the server. This is related to an _libssh2_check_length mistake, and is different from the various issues fixed in 1.8.1, such as CVE-2019-3855.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1730-3, DLA-2848-1, DLA-3559-1
Debian Bugs932329

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libssh2 (PTS)buster1.8.0-2.1vulnerable
buster (security)1.8.0-2.1+deb10u1fixed
bullseye1.9.0-2fixed
bookworm1.10.0-3fixed
trixie1.11.0-4fixed
sid1.11.0-4.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libssh2sourcejessie1.4.3-4.1+deb8u4DLA-1730-3
libssh2sourcestretch1.7.0-1+deb9u2DLA-2848-1
libssh2sourcebuster1.8.0-2.1+deb10u1DLA-3559-1
libssh2source(unstable)1.9.0-1932329

Notes

https://securitylab.github.com/research/libssh2-integer-overflow/
https://github.com/libssh2/libssh2/pull/350
https://github.com/libssh2/libssh2/commit/ff1b155731ff8f790f12d980911d9fd84d0e1598

Search for package or bug name: Reporting problems