Alpine: multiple haveged packages: security update to 1.9.21-r0

high Tenable Cloud Security Plugin ID 442234

Description

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

- In `src/havegecmd.c`, the `socket_handler` function performs a credential check on the abstract UNIX
socket (`\0/sys/entropy/haveged`). However, while it detects if the connecting user is not root (`cred.uid
!= 0`) and prepares a negative acknowledgement (`ASCII_NAK`), it **fails to stop execution**. The code
proceeds to the `switch` statement, allowing any local unprivileged user to execute privileged commands
such as `MAGIC_CHROOT`. (CVE-2026-41054)

Solution

Update the haveged library and its related packages to version 1.9.21-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-41054

Plugin Details

Severity: High

ID: 442234

Version: Revision 1.3

Type: Local

Published: 5/20/2026

Updated: 5/22/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2026-41054

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: 5/20/2026

Reference Information

CVE: CVE-2026-41054