A flaw was found with the libssh API function sshscpnew() 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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "libssh-dev": "0.6.3-4.3ubuntu0.5", "libssh-gcrypt-dev": "0.6.3-4.3ubuntu0.5", "libssh-dev-dbgsym": "0.6.3-4.3ubuntu0.5", "libssh-gcrypt-4-dbgsym": "0.6.3-4.3ubuntu0.5", "libssh-4": "0.6.3-4.3ubuntu0.5", "libssh-4-dbgsym": "0.6.3-4.3ubuntu0.5", "libssh-doc": "0.6.3-4.3ubuntu0.5", "libssh-gcrypt-dev-dbgsym": "0.6.3-4.3ubuntu0.5", "libssh-gcrypt-4": "0.6.3-4.3ubuntu0.5", "libssh-dbg": "0.6.3-4.3ubuntu0.5" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "libssh-dev": "0.8.0~20170825.94fa1e38-1ubuntu0.5", "libssh-gcrypt-dev": "0.8.0~20170825.94fa1e38-1ubuntu0.5", "libssh-gcrypt-4-dbgsym": "0.8.0~20170825.94fa1e38-1ubuntu0.5", "libssh-gcrypt-4": "0.8.0~20170825.94fa1e38-1ubuntu0.5", "libssh-4-dbgsym": "0.8.0~20170825.94fa1e38-1ubuntu0.5", "libssh-doc": "0.8.0~20170825.94fa1e38-1ubuntu0.5", "libssh-4": "0.8.0~20170825.94fa1e38-1ubuntu0.5" } ] }