Amazon Linux 2 : libssh2 (ALAS-2019-1199)

high Nessus Plugin ID 124305

Synopsis

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

Description

An integer overflow flaw, which could lead to an out of bounds write, was discovered in libssh2 in the way keyboard prompt requests are parsed. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.(CVE-2019-3856)

An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 in the way packets are read from the server.
A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.(CVE-2019-3855)

A vulnerability was found in in libssh2 where a server could send a multiple keyboard interactive response messages whose total length are greater than unsigned char max characters. This value is used as an index to copy memory causing in an out of bounds memory write error.(CVE-2019-3863)

An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit signal are parsed. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.(CVE-2019-3857)

Solution

Run 'yum update libssh2' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2019-1199.html

Plugin Details

Severity: High

ID: 124305

File Name: al2_ALAS-2019-1199.nasl

Version: 1.3

Type: local

Agent: unix

Published: 4/26/2019

Updated: 5/31/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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-3855

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

CVSS Score Source: CVE-2019-3863

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: 4/26/2019

Vulnerability Publication Date: 3/21/2019

Reference Information

CVE: CVE-2019-3855, CVE-2019-3856, CVE-2019-3857, CVE-2019-3863

ALAS: 2019-1199