Alpine: multiple libuv packages: security update to 1.48.0-r0

high Tenable Cloud Security Plugin ID 424079

Description

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

- libuv is a multi-platform support library with a focus on asynchronous I/O. The `uv_getaddrinfo` function
in `src/unix/getaddrinfo.c` (and its windows counterpart `src/win/getaddrinfo.c`), truncates hostnames to
256 characters before calling `getaddrinfo`. This behavior can be exploited to create addresses like
`0x00007f000001`, which are considered valid by `getaddrinfo` and could allow an attacker to craft
payloads that resolve to unintended IP addresses, bypassing developer checks. The vulnerability arises due
to how the `hostname_ascii` variable (with a length of 256 bytes) is handled in `uv_getaddrinfo` and
subsequently in `uv__idna_toascii`. When the hostname exceeds 256 characters, it gets truncated without a
terminating null byte. As a result attackers may be able to access internal APIs or for websites (similar
to MySpace) that allows users to have `username.example.com` pages. Internal services that crawl or cache
these user pages can be exposed to SSRF attacks if a malicious user chooses a long vulnerable username.
This issue has been addressed in release version 1.48.0. Users are advised to upgrade. There are no known
workarounds for this vulnerability. (CVE-2024-24806)

See Also

https://security.alpinelinux.org/vuln/CVE-2024-24806

Plugin Details

Severity: High

ID: 424079

Version: Revision 1.5

Type: Local

Published: 4/4/2025

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.8

Percentile: 56.93

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2024-24806

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 2/7/2024

Reference Information

CVE: CVE-2024-24806