Alpine: multiple libssh packages: security update to 0.9.5-r0 (deprecated)

medium Tenable Self-Hosted Container Security Plugin ID 400145

Description

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

- A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared
secrets during the lifetime of the session. One of them is called secret_hash and the other session_id.
Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as
an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked
as long as these buffers were same. But the key re-exchange operation can also change the key exchange
method, which can be based on hash of different size, eventually creating "secret_hash" of different size
than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used
again during second key re-exchange. (CVE-2021-3634)

See Also

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

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

Plugin Details

Severity: Medium

ID: 400145

Version: Revision 1.27

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

Temporal Score: 3

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

CVSS Score Source: CVE-2021-3634

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/27/2021

Vulnerability Publication Date: 8/31/2021

Reference Information

CVE: CVE-2021-3634

IAVA: 2022-A-0041