Alpine: multiple libssh packages: security update to 0.9.6-r0

medium Tenable Self-Hosted Container Security Plugin ID 405318

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://security.alpinelinux.org/vuln/CVE-2021-3634

Plugin Details

Severity: Medium

ID: 405318

Version: Revision 1.28

Type: Local

Published: 10/31/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

Vulnerability Publication Date: 8/31/2021

Reference Information

CVE: CVE-2021-3634

IAVA: 2022-A-0041-S