{"id":"CVE-2019-14889","state":"PUBLISHED","title":"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 inclu","description":"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.","publishedAt":"2019-12-10T00:00:00.000Z","updatedAt":"2024-08-05T00:26:39.148Z","severity":{"score":7.1,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"redhat"},"assigner":"redhat","products":["Red Hat libssh"],"affected":[{"vendor":"Red Hat","product":"libssh","versions":[{"version":"All libssh versions before 0.9.3","status":"affected"},{"version":"All libssh versions before 0.8.8","status":"affected"}]}],"references":["https://usn.ubuntu.com/4219-1/","http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html","https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/","http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html","https://security.gentoo.org/glsa/202003-27","https://www.oracle.com/security-alerts/cpuapr2020.html","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889","https://www.libssh.org/security/advisories/CVE-2019-14889.txt","https://lists.debian.org/debian-lts-announce/2023/05/msg00029.html"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:45:30.451Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/14xxx/CVE-2019-14889.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-14889","state":"PUBLISHED","datePublished":"2019-12-10T00:00:00.000Z","dateUpdated":"2024-08-05T00:26:39.148Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2019-08-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Red Hat","product":"libssh","versions":[{"version":"All libssh versions before 0.9.3","status":"affected"},{"version":"All libssh versions before 0.8.8","status":"affected"}]}],"references":[{"url":"https://usn.ubuntu.com/4219-1/","name":"USN-4219-1","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html","name":"openSUSE-SU-2019:2689","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html","name":"[debian-lts-announce] 20191217 [SECURITY] [DLA 2038-1] libssh security update","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/","name":"FEDORA-2019-8b0ad69829","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/","name":"FEDORA-2019-46b6bd2459","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html","name":"openSUSE-SU-2020:0102","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202003-27","name":"GLSA-202003-27","tags":["vendor-advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889"},{"url":"https://www.libssh.org/security/advisories/CVE-2019-14889.txt"},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00029.html","name":"[debian-lts-announce] 20230529 [SECURITY] [DLA 3437-1] libssh security update","tags":["mailing-list"]}],"metrics":[{"cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","type":"CWE","lang":"en","description":"CWE-78"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2023-05-29T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://usn.ubuntu.com/4219-1/","name":"USN-4219-1","tags":["vendor-advisory","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html","name":"openSUSE-SU-2019:2689","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00020.html","name":"[debian-lts-announce] 20191217 [SECURITY] [DLA 2038-1] libssh security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7JJWJTXVWLLJTVHBPGWL7472S5FWXYQR/","name":"FEDORA-2019-8b0ad69829","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EV2ONSPDJCTDVORCB4UGRQUZQQ46JHRN/","name":"FEDORA-2019-46b6bd2459","tags":["vendor-advisory","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html","name":"openSUSE-SU-2020:0102","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202003-27","name":"GLSA-202003-27","tags":["vendor-advisory","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","tags":["x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889","tags":["x_transferred"]},{"url":"https://www.libssh.org/security/advisories/CVE-2019-14889.txt","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00029.html","name":"[debian-lts-announce] 20230529 [SECURITY] [DLA 3437-1] libssh security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T00:26:39.148Z"}}]}}}