Amazon Linux 2 : libssh2 (ALAS-2023-2046)

critical Nessus Plugin ID 175972

Synopsis

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

Description

The version of libssh2 installed on the remote host is prior to 1.4.3-12. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2046 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/AL2/ALAS-2023-2046.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: 175972

File Name: al2_ALAS-2023-2046.nasl

Version: 1.0

Type: local

Agent: unix

Published: 5/17/2023

Updated: 5/17/2023

Supported Sensors: Agentless Assessment, Continuous 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-debuginfo, p-cpe:/a:amazon:linux:libssh2-devel, p-cpe:/a:amazon:linux:libssh2, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:libssh2-docs

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/11/2023

Vulnerability Publication Date: 3/18/2019

Reference Information

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