PT-2019-5374 · Libssh+7 · Libssh+7

Khaled Sakr

·

Publicado

2019-12-05

·

Atualizado

2024-06-15

·

CVE-2019-14889

CVSS v2.0

9.3

Alta

VetorAV: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.

Correção

OS Command Injection

Command Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2019-3261
ALT-PU-2019-3290
ALT-PU-2020-2094
ALT-PU-2020-2183
BDU:2020-02642
CESA-2020_4545
CVE-2019-14889
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:3293-1
SUSE-SU-2019:3307-1
SUSE-SU-2019:3308-1
SUSE-SU-2019_3267-1
SUSE-SU-2019_3293-1
SUSE-SU-2019_3307-1
SUSE-SU-2019_3308-1
SUSE-SU-2020:0129-1
SUSE-SU-2020:0130-1
SUSE-SU-2020:0131-1
SUSE-SU-2020:0139-1
SUSE-SU-2020_0129-1
SUSE-SU-2020_0130-1
SUSE-SU-2020_0131-1
SUSE-SU-2020_0139-1
SUSE-SU-2024:0525-1
SUSE-SU-2024:0539-1
SUSE-SU-2024_0525-1
SUSE-SU-2024_0539-1
USN-4219-1

Produtos afetados

Alt Linux
Astra Linux
Centos
Red Hat
Rocky Linux
Suse
Ubuntu
Libssh