{"id":"CVE-2019-14889","published":"2019-12-10T00:00:00Z","modified":"2024-08-05T00:26:39Z","title":"A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8","vendor":"Red Hat","product":"libssh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03174,"percentile":0.87998,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://usn.ubuntu.com/4219-1/","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202003-27","tags":["vendor-advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889","tags":[]},{"url":"https://www.libssh.org/security/advisories/CVE-2019-14889.txt","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00029.html","tags":["mailing-list"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":17.6},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"libssh","versions":["All libssh versions before 0.9.3","All libssh versions before 0.8.8"]}],"euvd":{"id":"EUVD-2019-5997","exploited":false,"provenance":"source"}}