Alpine: multiple libssh2 packages: security update to 1.8.0-r4 (deprecated)

critical Tenable Cloud Security Plugin ID 400598

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1
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)

- An integer overflow flaw, which could lead to an out of bounds write, was discovered in libssh2 before
1.8.1 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 before 1.8.1
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)

- An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is
received from the server. 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-3858)

See Also

https://git.alpinelinux.org/aports/commit/?id=0c38351d5beace23bc498ea5fc79b3ba6a012b6e

https://git.alpinelinux.org/aports/commit/?id=cc24081da76513f5948faa23782ac5680bff1f13

Plugin Details

Severity: Critical

ID: 400598

Version: Revision 1.25

Type: Local

Published: 8/16/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.7

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

CVSS Score Source: CVE-2019-3855

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.4

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:F/RL:O/RC:C

CVSS Score Source: CVE-2019-3862

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/19/2019

Vulnerability Publication Date: 3/18/2019

Reference Information

CVE: CVE-2019-3855, CVE-2019-3856, CVE-2019-3857, CVE-2019-3858, CVE-2019-3859, CVE-2019-3860, CVE-2019-3861, CVE-2019-3862, CVE-2019-3863

BID: 107485