PT-2024-2832 · Libuv+10 · Libuv+10

Arash16

·

Published

2024-02-07

·

Updated

2025-08-12

·

CVE-2024-24806

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions libuv versions prior to 1.48.0
Description The issue arises due to the handling of the hostname ascii variable in the uv getaddrinfo function, which truncates hostnames to 256 characters before calling getaddrinfo. This behavior can be exploited to create addresses that are considered valid by getaddrinfo, allowing an attacker to craft payloads that resolve to unintended IP addresses and bypass developer checks. The vulnerability may enable attackers to access internal APIs or expose internal services to Server-Side Request Forgery (SSRF) attacks.
Recommendations For versions prior to 1.48.0, upgrade to version 1.48.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the uv getaddrinfo function until a patch is available. Avoid using hostnames that exceed 256 characters in the affected API endpoints until the issue is resolved.

Exploit

Fix

SSRF

Weakness Enumeration

Related Identifiers

ALSA-2024:4247
ALSA-2024:4756
ALSA-2024_4247
ALSA-2024_4756
ALT-PU-2024-11351
ALT-PU-2024-11928
ALT-PU-2024-2536
ALT-PU-2024-3556
AZL-34278
AZL-34306
AZL-34957
AZL-35051
AZL-35133
AZL-35782
BDU:2024-02979
CESA-2024_4247
CVE-2024-24806
DLA-3752-1
DSA-5638-1
GHSA-F74F-CVH7-C6Q6
INFSA-2024_4247
INFSA-2024_4756
MGASA-2024-0079
OESA-2024-1200
OPENSUSE-SU-2024:13697-1
OPENSUSE-SU-2024:13818-1
OPENSUSE-SU-2024_0728-1
OPENSUSE-SU-2024_0729-1
OPENSUSE-SU-2024_1301-1
OPENSUSE-SU-2024_1309-1
OPENSUSE-SU-2024_4109-1
RHSA-2024:4247
RHSA-2024:4756
RHSA-2024:8132
RHSA-2024_4247
RHSA-2024_4756
ROSA-SA-2025-2605
SUSE-SU-2024:0643-1
SUSE-SU-2024:0644-1
SUSE-SU-2024:0728-1
SUSE-SU-2024:0729-1
SUSE-SU-2024:0730-1
SUSE-SU-2024:0731-1
SUSE-SU-2024:0732-1
SUSE-SU-2024:0733-1
SUSE-SU-2024:1301-1
SUSE-SU-2024:1307-1
SUSE-SU-2024:1309-1
SUSE-SU-2024:4109-1
SUSE-SU-2024_4109-1
USN-6666-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Libuv