Name | CVE-2019-14889 |
Description | A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. In case the library is used in a way where users can influence the third parameter of the function, it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2038-1, DLA-3437-1, ELA-923-1 |
Debian Bugs | 946548 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libssh (PTS) | jessie, jessie (lts) | 0.6.3-4+deb8u6 | fixed |
stretch (security) | 0.7.3-2+deb9u3 | vulnerable | |
stretch (lts), stretch | 0.7.3-2+deb9u4 | fixed | |
buster (security), buster, buster (lts) | 0.8.7-1+deb10u2 | fixed | |
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 | wheezy | (unfixed) | end-of-life | ||
libssh | source | jessie | 0.6.3-4+deb8u6 | ELA-923-1 | ||
libssh | source | stretch | 0.7.3-2+deb9u4 | ELA-923-1 | ||
libssh | source | buster | 0.8.7-1+deb10u2 | DLA-3437-1 | ||
libssh | source | (unstable) | 0.9.3-1 | 946548 |
https://www.libssh.org/security/advisories/CVE-2019-14889.txt
https://bugs.libssh.org/T181
The fix in libssh makes an update in x2goclient necessary, cf:
https://bugs.debian.org/947129
https://code.x2go.org/gitweb?p=x2goclient.git;a=commitdiff;h=ce559d163a943737fe4160f7233925df2eee1f9a