Alpine: multiple libssh2 packages: security update to 1.6.0-r0 (deprecated)

medium Tenable Self-Hosted Container Security Plugin ID 401081

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- The diffie_hellman_sha256 function in kex.c in libssh2 before 1.7.0 improperly truncates secrets to 128 or
256 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via
unspecified vectors, aka a "bits/bytes confusion bug." (CVE-2016-0787)

See Also

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

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

Plugin Details

Severity: Medium

ID: 401081

Version: Revision 1.23

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: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2016-0787

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/24/2016

Vulnerability Publication Date: 2/23/2016

Reference Information

CVE: CVE-2016-0787

BID: 82514, 83389