Skip to main content
← All vulnerabilities
CVE-2019-14889

A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8.

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Red Hat libssh

    All libssh versions before 0.9.3, All libssh versions before 0.8.8

References 11

usn.ubuntu.com

lists.opensuse.org

lists.debian.org

lists.fedoraproject.org

security.gentoo.org

oracle.com

bugzilla.redhat.com

libssh.org