PT-2019-5374

CVE-2019-14889

·

Published

2019-12-05

·

Updated

2026-10-31

Description by

CVSS 2.0
9.3
High
MetricsAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions libssh versions prior to 0.9.3 libssh versions prior to 0.8.8
Description A flaw was found in the libssh API function ssh scp new() that allows an attacker to inject arbitrary commands when the libssh SCP client connects to a server. This is possible if the library is used in a way where users can influence the third parameter of the ssh scp new() function, leading to a compromise of the remote target. The issue is related to the lack of data sanitization at the management level, which can allow a remote attacker to execute arbitrary code.
Recommendations For versions prior to 0.9.3, update to version 0.9.3 or later to resolve the issue. For versions prior to 0.8.8, update to version 0.8.8 or later to resolve the issue. As a temporary workaround, consider restricting the use of the ssh scp new() function until a patch is available.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2019-3261
ALT-PU-2019-3290
ALT-PU-2020-2094
ALT-PU-2020-2183
CESA-2020_4545
CLEANSTART-2025-DO24677
DLA-2038-1
DLA-2038-2
DLA-3437-1
MGASA-2019-0402
OPENSUSE-SU-2019:2689-1
OPENSUSE-SU-2019_2689-1
OPENSUSE-SU-2020:0102-1
OPENSUSE-SU-2020_0102-1
OPENSUSE-SU-2024:10998-1
RHSA-2020:4545
RHSA-2020_4545
RLSA-2020:4545
SUSE-SU-2019:3267-1
SUSE-SU-2019_3267-1
SUSE-SU-2019:3293-1
SUSE-SU-2019_3293-1
SUSE-SU-2019:3307-1
SUSE-SU-2019_3307-1
SUSE-SU-2019:3308-1
SUSE-SU-2019_3308-1
SUSE-SU-2020:0129-1
SUSE-SU-2020_0129-1
SUSE-SU-2020:0130-1
SUSE-SU-2020_0130-1
SUSE-SU-2020:0131-1
SUSE-SU-2020_0131-1
SUSE-SU-2020:0139-1
SUSE-SU-2020_0139-1
SUSE-SU-2024:0525-1
SUSE-SU-2024_0525-1
SUSE-SU-2024:0539-1
SUSE-SU-2024_0539-1
USN-4219-1
Found an issue in the description? Have something to add? Feel free to write us 👾