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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade libuv-develUpgrade libuv | Jul 4, 2024 | Feb 7, 2024 |
| Alpine Linux | — | Upgrade libuv | Mar 21, 2024 | Feb 7, 2024 |
| Amazon Linux Ami 2 | — | Upgrade libuv-develUpgrade libuv-debuginfoUpgrade libuv-staticUpgrade libuv | Mar 5, 2024 | Feb 7, 2024 |
| Amazon_linux_2023 | — | Upgrade libuv-debuginfoUpgrade libuvUpgrade libuv-staticUpgrade libuv-debugsourceUpgrade libuv-devel | Feb 17, 2025 | Feb 7, 2024 |
| Debian | — | Upgrade libuv1 | Mar 7, 2024 | Feb 7, 2024 |
| F5 Big Ip | — | — | Aug 7, 2025 | Aug 7, 2025 |
| Gentoo Linux | — | Upgrade dev-libs/libuv. | Jan 24, 2025 | Feb 7, 2024 |
| Huawei Euleros 2_0_sp10 | — | Upgrade libuv | May 13, 2024 | Feb 7, 2024 |
| Huawei Euleros 2_0_sp11 | — | Upgrade libuv | Jun 3, 2024 | Feb 7, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade libuv | May 31, 2024 | Feb 7, 2024 |
| Oracle_linux | — | Upgrade libuvUpgrade libuv-devel | Jul 3, 2024 | Feb 7, 2024 |
| Redhat_linux | — | Upgrade libuv-debuginfoUpgrade libuv-develUpgrade libuvNo solution existsUpgrade libuv-debugsource | Jul 3, 2024 | Feb 7, 2024 |
| Rocky_linux | — | Upgrade libuv-develUpgrade libuv-debuginfoUpgrade libuv-debugsourceUpgrade libuv | May 8, 2025 | Feb 7, 2024 |
| Suse | — | Upgrade libuv1Upgrade nodejs14-docsUpgrade npm12Upgrade npm20Upgrade nodejs20-docsUpgrade npm18Upgrade nodejs12-develUpgrade nodejs16-develUpgrade nodejs18-develUpgrade npm16Upgrade corepack20Upgrade npm14Upgrade nodejs16Upgrade nodejs14Upgrade nodejs18Upgrade nodejs16-docsUpgrade libuv-develUpgrade nodejs12-docsUpgrade nodejs12Upgrade nodejs20-develUpgrade nodejs18-docsUpgrade corepack18Upgrade nodejs20Upgrade libuv1-32bitUpgrade nodejs14-devel | Feb 29, 2024 | Feb 7, 2024 |
| Ubuntu | — | Upgrade libuv1 | Feb 29, 2024 | Feb 7, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Feb 7, 2024 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub