CVE-2019-14889

libssh: unsanitized location in scp could lead to unwanted command execution

Published Dec 10, 2019 CVSS 3.1 · 8.8 High EPSS 3.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2038-1 libssh security update
Debian DLA Debian DLA DLA-3437-1 libssh security update
EUVD EUVD EUVD-2019-5997 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.
Ubuntu USN Ubuntu USN USN-4219-1 libssh vulnerability
History

No history.