Libuv1: The uv_getaddrinfo function
Affects libuv1Source GCVE Database
Not known to be exploited · CVSS 7.3 High · fixed in 1.34.2-1ubuntu1.5 : patch libuv1 soon.
Data as of 24 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 1.34.2-1ubuntu1.5, 1.43.0-1ubuntu0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 7 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu libuv1 to 1.34.2-1ubuntu1.5 (package) or 1.43.0-1ubuntu0.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSlibuv1pkg:deb/ubuntu/libuv1?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSlibuv1pkg:deb/ubuntu/libuv1?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2024-24806 (opens in a new tab)
- github.com/libuv/libuv/security/advisories/GHSA-f74f-cvh7-c6q6 (opens in a new tab)
- openwall.com/lists/oss-security/2024/02/08/2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6666-1 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-24806 (opens in a new tab)