CWE
78
Advisory Published
Updated

CVE-2019-14889: OS Command Injection

First published: Tue Dec 10 2019(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Libssh Libssh<0.8.8
Libssh Libssh>=0.9.0<0.9.3
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
Canonical Ubuntu Linux=19.10
openSUSE Leap=15.1
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Debian Debian Linux=8.0
Oracle Mysql Workbench<=8.0.19

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2019-14889?

    CVE-2019-14889 is a vulnerability found in 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, a user-provided path can execute a command on the server-side.

  • What is the severity of CVE-2019-14889?

    The severity of CVE-2019-14889 is critical with a CVSS score of 8.8.

  • Which software versions are affected by CVE-2019-14889?

    Versions before 0.9.3 and before 0.8.8 of libssh are affected. Additionally, Canonical Ubuntu Linux 16.04, 18.04, 19.04, 19.10, openSUSE Leap 15.1, Fedoraproject Fedora 30, 31, and Debian Debian Linux 8.0 are affected as well.

  • How can I fix CVE-2019-14889?

    To fix CVE-2019-14889, users should update to version 0.9.3 or later of libssh.

  • Where can I find more information about CVE-2019-14889?

    You can find more information about CVE-2019-14889 at the following references: [1](http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html), [2](http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html), [3](https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203