Amazon Linux AMI : libssh2 (ALAS-2023-1756)

critical Nessus Plugin ID 176769

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

The version of libssh2 installed on the remote host is prior to 1.4.2-3.13. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2023-1756 advisory.

- An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the _libssh2_packet_require and
_libssh2_packet_requirev functions. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory. (CVE-2019-3859)

- An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SFTP packets with empty payloads are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory. (CVE-2019-3860)

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

Solution

Run 'yum update libssh2' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2023-1756.html

https://alas.aws.amazon.com/cve/html/CVE-2019-3859.html

https://alas.aws.amazon.com/cve/html/CVE-2019-3860.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Critical

ID: 176769

File Name: ala_ALAS-2023-1756.nasl

Version: 1.0

Type: local

Agent: unix

Published: 6/6/2023

Updated: 6/6/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, 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 Score Source: CVE-2019-3860

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:amazon:linux:libssh2, p-cpe:/a:amazon:linux:libssh2-debuginfo, p-cpe:/a:amazon:linux:libssh2-devel, p-cpe:/a:amazon:linux:libssh2-docs, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/25/2023

Vulnerability Publication Date: 3/18/2019

Reference Information

CVE: CVE-2019-3859, CVE-2019-3860