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.
CVSS Details
- CVSS 3.1 Base Score: 7.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Covered by Rapid7
| 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-debuginfoUpgrade libuvUpgrade libuv-staticUpgrade libuv-devel | 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-debugsourceNo solution existsUpgrade libuv-develUpgrade libuvUpgrade libuv-debuginfo | Jul 3, 2024 | Feb 7, 2024 |
| Rocky_linux | — | Upgrade libuv-debuginfoUpgrade libuv-develUpgrade libuvUpgrade libuv-debugsource | May 8, 2025 | Feb 7, 2024 |
| Suse | — | Upgrade nodejs18Upgrade nodejs20Upgrade corepack18Upgrade nodejs14Upgrade corepack20Upgrade nodejs20-develUpgrade nodejs16-docsUpgrade libuv-develUpgrade nodejs18-docsUpgrade nodejs16Upgrade nodejs12Upgrade nodejs12-docsUpgrade libuv1-32bitUpgrade npm14Upgrade npm16Upgrade nodejs14-develUpgrade nodejs18-develUpgrade npm20Upgrade nodejs14-docsUpgrade libuv1Upgrade nodejs12-develUpgrade nodejs20-docsUpgrade npm18Upgrade npm12Upgrade nodejs16-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 |
Prioritise with Active Threat Intelligence
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