
CVE catalog
CVE-2024-24806
libuv1: CVE-2024-24806
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.00% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libuv1 | sid | 1.53.0-1 | fixed |
| Debian | libuv1 | forky | 1.53.0-1 | fixed |
| Debian | libuv1 | trixie | 1.50.0-2 | fixed |
| Debian | libuv1 | bookworm | 1.44.2-1+deb12u1 | fixed |
| Debian | libuv1 | bookworm-security | 1.44.2-1+deb12u1 | fixed |
| Alpine | libuv | 3.20 | 1.48.0-r0 | fixed |
| Alpine | libuv | 3.21 | 1.48.0-r0 | fixed |
| Alpine | libuv | 3.22 | 1.48.0-r0 | fixed |
| Alpine | libuv | 3.23 | 1.48.0-r0 | fixed |
| Alpine | libuv | 3.24 | 1.48.0-r0 | fixed |
| Ubuntu | libuv1 | 20.04 | 1.30.1-1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.33.1-2 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.33.1-2ubuntu2 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.33.1-3ubuntu1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1.1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1.3 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1.5 | fixed |
| Ubuntu | libuv1 | 22.04 | 1.40.0-2ubuntu1 | vulnerable |
| Ubuntu | libuv1 | 22.04 | 1.42.0-1 | vulnerable |
| Ubuntu | libuv1 | 22.04 | 1.43.0-1 | vulnerable |
| Ubuntu | libuv1 | 22.04 | 1.43.0-1ubuntu0.1 | fixed |
| Ubuntu | libuv1 | 20.04 | 1.30.1-1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.33.1-2 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.33.1-2ubuntu2 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.33.1-3ubuntu1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1.1 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1.3 | vulnerable |
| Ubuntu | libuv1 | 20.04 | 1.34.2-1ubuntu1.5 | fixed |
| Ubuntu | libuv1 | 22.04 | 1.40.0-2ubuntu1 | vulnerable |
| Ubuntu | libuv1 | 22.04 | 1.42.0-1 | vulnerable |
| Ubuntu | libuv1 | 22.04 | 1.43.0-1 | vulnerable |
| Ubuntu | libuv1 | 22.04 | 1.43.0-1ubuntu0.1 | fixed |
| Suse | nodejs20 | linux enterprise module for web and scripting 15 sp5 | 20.12.1-150500.11.9.2 | fixed |
| Opensuse | nodejs20 | leap 15.5 | 20.12.1-150500.11.9.2 | fixed |
| Opensuse | libuv | tumbleweed | 1.48.0-1.1 | fixed |
| Suse | libuv | linux enterprise micro 5.5 | 1.44.2-150500.3.5.1 | fixed |
| Suse | libuv | linux enterprise module for basesystem 15 sp5 | 1.44.2-150500.3.5.1 | fixed |
| Suse | libuv | linux enterprise module for basesystem 15 sp6 | 1.44.2-150500.3.5.1 | fixed |
| Opensuse | libuv | leap 15.5 | 1.44.2-150500.3.5.1 | fixed |
| Opensuse | libuv | leap 15.6 | 1.44.2-150500.3.5.1 | fixed |
| Suse | nodejs18 | linux enterprise module for web and scripting 15 sp5 | 18.20.1-150400.9.21.3 | fixed |
| Suse | nodejs18 | linux enterprise high performance computing 15 sp4-espos | 18.20.1-150400.9.21.3 | fixed |
| Suse | nodejs18 | linux enterprise high performance computing 15 sp4-ltss | 18.20.1-150400.9.21.3 | fixed |
| Suse | nodejs18 | linux enterprise server 15 sp4-ltss | 18.20.1-150400.9.21.3 | fixed |
| Suse | nodejs18 | linux enterprise server for sap applications 15 sp4 | 18.20.1-150400.9.21.3 | fixed |
| Suse | nodejs18 | manager server 4.3 | 18.20.1-150400.9.21.3 | fixed |
| Opensuse | nodejs18 | leap 15.5 | 18.20.1-150400.9.21.3 | fixed |
| Suse | nodejs18 | linux enterprise module for web and scripting 12 | 18.20.1-8.21.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libuv1 | source | sid | 1.48.0-1 | not yet assigned | Not reported | [1063484] |
| Debian | libuv1 | source | forky | 1.48.0-1 | not yet assigned | Not reported | [1063484] |
| Debian | libuv1 | source | trixie | 1.48.0-1 | not yet assigned | Not reported | [1063484] |
| Debian | libuv1 | source | bookworm | 1.44.2-1+deb12u1 | not yet assigned | Not reported | [1063484] |
| Alpine | libuv | apk | 3.20 | 1.48.0-r0 | Not reported | ALPINE-CVE-2024-24806 | Not reported |
| Alpine | libuv | apk | 3.21 | 1.48.0-r0 | Not reported | ALPINE-CVE-2024-24806 | Not reported |
| Alpine | libuv | apk | 3.22 | 1.48.0-r0 | Not reported | ALPINE-CVE-2024-24806 | Not reported |
| Alpine | libuv | apk | 3.23 | 1.48.0-r0 | Not reported | ALPINE-CVE-2024-24806 | Not reported |
| Alpine | libuv | apk | 3.24 | 1.48.0-r0 | Not reported | ALPINE-CVE-2024-24806 | Not reported |
| Ubuntu | libuv1 | deb | 20.04 | 1.34.2-1ubuntu1.5 | Not reported | UBUNTU-CVE-2024-24806 | Not reported |
| Ubuntu | libuv1 | deb | 22.04 | 1.43.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2024-24806 | Not reported |
| Ubuntu | libuv1 | deb | 20.04 | 1.34.2-1ubuntu1.5 | Not reported | USN-6666-1 | Not reported |
| Ubuntu | libuv1 | deb | 22.04 | 1.43.0-1ubuntu0.1 | Not reported | USN-6666-1 | Not reported |
| Suse | nodejs20 | rpm | linux enterprise module for web and scripting 15 sp5 | 20.12.1-150500.11.9.2 | Not reported | SUSE-SU-2024:1301-1 | Not reported |
| Opensuse | nodejs20 | rpm | leap 15.5 | 20.12.1-150500.11.9.2 | Not reported | SUSE-SU-2024:1301-1 | Not reported |
| Opensuse | libuv | rpm | tumbleweed | 1.48.0-1.1 | Not reported | OPENSUSE-SU-2024:13818-1 | Not reported |
| Suse | libuv | rpm | linux enterprise micro 5.5 | 1.44.2-150500.3.5.1 | Not reported | SUSE-SU-2024:4109-1 | Not reported |
| Suse | libuv | rpm | linux enterprise module for basesystem 15 sp5 | 1.44.2-150500.3.5.1 | Not reported | SUSE-SU-2024:4109-1 | Not reported |
| Suse | libuv | rpm | linux enterprise module for basesystem 15 sp6 | 1.44.2-150500.3.5.1 | Not reported | SUSE-SU-2024:4109-1 | Not reported |
| Opensuse | libuv | rpm | leap 15.5 | 1.44.2-150500.3.5.1 | Not reported | SUSE-SU-2024:4109-1 | Not reported |
| Opensuse | libuv | rpm | leap 15.6 | 1.44.2-150500.3.5.1 | Not reported | SUSE-SU-2024:4109-1 | Not reported |
| Suse | nodejs18 | rpm | linux enterprise module for web and scripting 15 sp5 | 18.20.1-150400.9.21.3 | Not reported | SUSE-SU-2024:1309-1 | Not reported |
| Suse | nodejs18 | rpm | linux enterprise high performance computing 15 sp4-espos | 18.20.1-150400.9.21.3 | Not reported | SUSE-SU-2024:1309-1 | Not reported |
| Suse | nodejs18 | rpm | linux enterprise high performance computing 15 sp4-ltss | 18.20.1-150400.9.21.3 | Not reported | SUSE-SU-2024:1309-1 | Not reported |
| Suse | nodejs18 | rpm | linux enterprise server 15 sp4-ltss | 18.20.1-150400.9.21.3 | Not reported | SUSE-SU-2024:1309-1 | Not reported |
| Suse | nodejs18 | rpm | linux enterprise server for sap applications 15 sp4 | 18.20.1-150400.9.21.3 | Not reported | SUSE-SU-2024:1309-1 | Not reported |
| Suse | nodejs18 | rpm | manager server 4.3 | 18.20.1-150400.9.21.3 | Not reported | SUSE-SU-2024:1309-1 | Not reported |
| Opensuse | nodejs18 | rpm | leap 15.5 | 18.20.1-150400.9.21.3 | Not reported | SUSE-SU-2024:1309-1 | Not reported |
| Suse | nodejs18 | rpm | linux enterprise module for web and scripting 12 | 18.20.1-8.21.1 | Not reported | SUSE-SU-2024:1307-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-915275.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_4247.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-24806]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-24806]
- [https://osv.dev/vulnerability/DLA-3752-1]
- [https://osv.dev/vulnerability/DSA-5638-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1301-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1307-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1309-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:4109-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-24806]
- [https://osv.dev/vulnerability/USN-6666-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13818-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-24806]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-24806.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0393.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]