Vulnerability database / CVE-2019-14889
CVE-2019-14889
HIGH 8.8 CVSS 3.1 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.
Published 10 Dec 2019
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-78 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD
secalert@redhat.com (Secondary)
CVSS 3.0
HIGH 7.1
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 9.3
AV:N/AC:M/Au:N/C:C/I:C/A:C
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
libssh
libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
< 0.8.8
0.8.8 NVD
libssh
libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.9.0, < 0.9.3
0.9.3 NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
= 19.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
= 19.10
NVD
opensuse
leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
oracle
mysql_workbenchcpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*
<= 8.0.19
References
History
25 Nov 2026 20:31 UTC · NVD: first stored (published 10 Dec 2019)