CVE-2019-14889

HIGH

libssh < 0.9.3 and < 0.8.8 - OS Command Injection via SCP Path Parameter

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 8.8
EPSS 0.0112
EPSS Percentile 78.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (10)
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 19.04
canonical/ubuntu_linux 19.10
debian/debian_linux 8.0
fedoraproject/fedora 30
fedoraproject/fedora 31
libssh/libssh < 0.8.8
opensuse/leap 15.1
oracle/mysql_workbench < 8.0.19
Published Dec 10, 2019
Tracked Since Feb 18, 2026