GLSA-202003-27 : libssh: Arbitrary command execution

high Nessus Plugin ID 134604

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202003-27 (libssh: Arbitrary command execution)

It was discovered that libssh incorrectly handled certain scp commands.
Impact :

A remote attacker could trick a victim into using a specially crafted scp command, possibly resulting in the execution of arbitrary commands on the server.
Workaround :

There is no known workaround at this time.

Solution

All libssh users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-libs/libssh-0.9.3'

See Also

https://security.gentoo.org/glsa/202003-27

Plugin Details

Severity: High

ID: 134604

File Name: gentoo_GLSA-202003-27.nasl

Version: 1.4

Type: local

Published: 3/16/2020

Updated: 2/3/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2019-14889

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:libssh

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 3/15/2020

Vulnerability Publication Date: 12/10/2019

Reference Information

CVE: CVE-2019-14889

GLSA: 202003-27

IAVA: 2020-A-0203