Vulnerabilities · 2019 · Libssh
CVE-2019-14889
Libssh vulnerability
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 products
Libssh, Ubuntu Linux, Leap, Fedora, Debian Linux, Mysql Workbench. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.libssh.org/security/advisories/CVE-2019-14889.txt · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889 · Patch
- lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/12/msg00020.html · Third Party Advisory
- security.gentoo.org/glsa/202003-27 · Third Party Advisory
- usn.ubuntu.com/4219-1/ · Third Party Advisory
- www.oracle.com/security-alerts/cpuapr2020.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-14889
- cve.org/CVERecord?id=CVE-2019-14889
More vulnerabilities in Libssh products
CVE-2025-8114CVE-2025-5987CVE-2025-5449CVE-2025-5372CVE-2025-5351CVE-2025-5318CVE-2023-6918CVE-2023-6004All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.