libssh: unsanitized location in scp could lead to unwanted command execution (CVE-2019-14889)
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 ssh_scp_new(), it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target.
Fixed In Version:
libssh 0.9.3, libssh 0.8.8
Reference:
https://www.libssh.org/security/advisories/CVE-2019-14889.txt