Name | CVE-2023-6918 |
Description | A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5591-1 |
Debian Bugs | 1059059 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libssh (PTS) | jessie, jessie (lts) | 0.6.3-4+deb8u6 | vulnerable |
stretch (security) | 0.7.3-2+deb9u3 | vulnerable | |
stretch (lts), stretch | 0.7.3-2+deb9u4 | vulnerable | |
buster (security), buster, buster (lts) | 0.8.7-1+deb10u2 | vulnerable | |
bullseye (security), bullseye | 0.9.8-0+deb11u1 | fixed | |
bookworm (security), bookworm | 0.10.6-0+deb12u1 | fixed | |
sid, trixie | 0.11.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libssh | source | jessie | (unfixed) | end-of-life | ||
libssh | source | bullseye | 0.9.8-0+deb11u1 | DSA-5591-1 | ||
libssh | source | bookworm | 0.10.6-0+deb12u1 | DSA-5591-1 | ||
libssh | source | (unstable) | 0.10.6-1 | 1059059 |
https://www.libssh.org/security/advisories/CVE-2023-6918.txt
https://gitlab.com/libssh/libssh-mirror/-/commit/610d7a09f99c601224ae2aa3d3de7e75b1d284dd (libssh-0.10.6)
https://gitlab.com/libssh/libssh-mirror/-/commit/63ff242131c8e6d98917456f71f6d33b9ef3a763 (libssh-0.10.6)
https://gitlab.com/libssh/libssh-mirror/-/commit/8b66d037d575e5f3ce4d35964547ff8c7e75ff8e (libssh-0.10.6)
https://gitlab.com/libssh/libssh-mirror/-/commit/8977e246b6d7ae467cab008a49e0a9e3d84bc2a0 (libssh-0.10.6)
https://gitlab.com/libssh/libssh-mirror/-/commit/622421018b58392ffecc29726b947e089b678221 (libssh-0.10.6)