Debian DLA-1730-4 : libssh2 regression update

critical Nessus Plugin ID 123135

Synopsis

The remote Debian host is missing a security update.

Description

Several more boundary checks have been backported to libssh2's src/sftp.c. Furthermore, all boundary checks in src/sftp.c now result in an LIBSSH2_ERROR_BUFFER_TOO_SMALL error code, rather than a LIBSSH2_ERROR_ OUT_OF_BOUNDARY error code.

As a side note, it was discovered that libssh2's SFTP implementation from Debian jessie only works well against OpenSSH SFTP servers from Debian wheezy, tests against newer OpenSSH versions (such as available in Debian jessie and beyond) interim-fail with SFTP protocol error 'Error opening remote file'. Operation might continue after this error, this depends on application implementations.

For Debian 8 'Jessie', this problem has been fixed in version 1.4.3-4.1+deb8u5.

We recommend that you upgrade your libssh2 packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2019/07/msg00028.html

https://packages.debian.org/source/jessie/libssh2

Plugin Details

Severity: Critical

ID: 123135

File Name: debian_DLA-1730.nasl

Version: 1.7

Type: local

Agent: unix

Published: 3/27/2019

Updated: 1/11/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libssh2-1, p-cpe:/a:debian:debian_linux:libssh2-1-dbg, p-cpe:/a:debian:debian_linux:libssh2-1-dev, cpe:/o:debian:debian_linux:8.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/30/2019

Vulnerability Publication Date: 3/25/2019

Reference Information

CVE: CVE-2019-3860