Alpine: multiple libssh packages: security update to 0.5.2-r1 (deprecated)

critical Tenable Cloud Security Plugin ID 401323

Description

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

- Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request
function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3 function in
sftp.c, and (5) try_publickey_from_file function in keyfiles.c in libssh before 0.5.3 allow remote
attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified
vectors. (CVE-2012-4559)

- The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5)
ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free "an invalid pointer on an error path,"
which might allow remote attackers to cause a denial of service (crash) via unspecified vectors.
(CVE-2012-4561)

- Multiple integer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service
(infinite loop or crash) and possibly execute arbitrary code via unspecified vectors, which triggers a
buffer overflow, infinite loop, or possibly some other unspecified vulnerabilities. (CVE-2012-4562)

See Also

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

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

Plugin Details

Severity: Critical

ID: 401323

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

Score: 4.9

Percentile: 57.15

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2012-4562

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/7/2012

Vulnerability Publication Date: 11/20/2012

Reference Information

CVE: CVE-2012-4559, CVE-2012-4561, CVE-2012-4562

BID: 56604