Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libssh | Libssh | < 0.8.8 |
| Canonical | Ubuntu Linux | 16.04 |
| Opensuse | Leap | 15.1 |
| Fedoraproject | Fedora | 30 |
| Debian | Debian Linux | 8.0 |
| Oracle | Mysql Workbench | <= 8.0.19 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.htmlMailing ListThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889Issue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00020.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/05/msg00029.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- 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 ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.htmlMailing ListThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889Issue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00020.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2019-14889?
CVE-2019-14889 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2019-14889?
CVE-2019-14889 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-14889?
Check the references section above for vendor advisories and patch information. Affected products include: Libssh Libssh, Canonical Ubuntu Linux, Opensuse Leap, Fedoraproject Fedora, Debian Debian Linux.