Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2019-14889: CVE-2019-14889 libssh: unsanitized location in scp could lead to unwanted command execution (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2019-14889: CVE-2019-14889 libssh: unsanitized location in scp could lead to unwanted command execution (Multiple Advisories)

Severity
9
CVSS
(AV:N/AC:M/Au:N/C:C/I:C/A:C)
Published
12/10/2019
Created
11/06/2020
Added
11/05/2020
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-libssh
  • redhat-upgrade-libssh-config
  • redhat-upgrade-libssh-debuginfo
  • redhat-upgrade-libssh-debugsource
  • redhat-upgrade-libssh-devel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;