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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.17%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 3.17% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- libssh/libssh · canonical/ubuntu linux · opensuse/leap · fedoraproject/fedora · debian/debian linux · oracle/mysql workbench
- Source
- secalert@redhat.com
References
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.htmlMailing List, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00020.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00029.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/
- https://security.gentoo.org/glsa/202003-27Third Party Advisory
- https://usn.ubuntu.com/4219-1/Third Party Advisory
- https://www.libssh.org/security/advisories/CVE-2019-14889.txtVendor Advisory
- https://www.oracle.com/security-alerts/cpuapr2020.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.htmlMailing List, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00020.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00029.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/
- https://security.gentoo.org/glsa/202003-27Third Party Advisory
- https://usn.ubuntu.com/4219-1/Third Party Advisory
- https://www.libssh.org/security/advisories/CVE-2019-14889.txtVendor Advisory
- https://www.oracle.com/security-alerts/cpuapr2020.htmlThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.