Debian DLA-3437-1 : libssh - LTS security update

high Nessus Plugin ID 176464

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3437 advisory.

- 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. (CVE-2019-14889)

- A NULL pointer dereference was found In libssh during re-keying with algorithm guessing. This issue may allow an authenticated client to cause a denial of service. (CVE-2023-1667)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libssh packages.

For Debian 10 buster, these problems have been fixed in version 0.8.7-1+deb10u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946548

https://security-tracker.debian.org/tracker/source-package/libssh

https://www.debian.org/lts/security/2023/dla-3437

https://security-tracker.debian.org/tracker/CVE-2019-14889

https://security-tracker.debian.org/tracker/CVE-2023-1667

https://packages.debian.org/source/buster/libssh

Plugin Details

Severity: High

ID: 176464

File Name: debian_DLA-3437.nasl

Version: 1.3

Type: local

Agent: unix

Published: 5/30/2023

Updated: 12/22/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, 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:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libssh-doc

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/29/2023

Vulnerability Publication Date: 12/10/2019

Reference Information

CVE: CVE-2019-14889, CVE-2023-1667

IAVA: 2023-A-0517-S