RCE in Libssh
CVE-2019-14889
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.032 (88.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 88.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000
Affected products
- Libssh
- Oracle MySQL Workbench
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.04
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 30, 31
- openSUSE Leap — versions 15.1
- Red Hat Libssh — versions All libssh versions before 0.9.3, All libssh versions before 0.8.8
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/4219-1/ (vendor-advisory, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-12/msg00033.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/12/msg00020.html (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00047.html (vendor-advisory, Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202003-27 (vendor-advisory, Third Party Advisory)
- www.oracle.com/security-alerts/cpuapr2020.html (Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- www.libssh.org/security/advisories/CVE-2019-14889.txt (Vendor Advisory)
Frequently asked questions
- What is CVE-2019-14889?
- CVE-2019-14889 is a high-severity vulnerability in Libssh, classified under OS Command Injection. CVSS score: 8.8/10. Published 2019-12-10.
- How severe is CVE-2019-14889?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2019-14889 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.