CVE catalog

CVE-2024-24806

libuv1: CVE-2024-24806

[CVE catalog]

Severity
High · CVSS 7.3CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibuv1sid1.53.0-1fixed
Debianlibuv1forky1.53.0-1fixed
Debianlibuv1trixie1.50.0-2fixed
Debianlibuv1bookworm1.44.2-1+deb12u1fixed
Debianlibuv1bookworm-security1.44.2-1+deb12u1fixed
Alpinelibuv3.201.48.0-r0fixed
Alpinelibuv3.211.48.0-r0fixed
Alpinelibuv3.221.48.0-r0fixed
Alpinelibuv3.231.48.0-r0fixed
Alpinelibuv3.241.48.0-r0fixed
Ubuntulibuv120.041.30.1-1vulnerable
Ubuntulibuv120.041.33.1-2vulnerable
Ubuntulibuv120.041.33.1-2ubuntu2vulnerable
Ubuntulibuv120.041.33.1-3ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.3vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.5fixed
Ubuntulibuv122.041.40.0-2ubuntu1vulnerable
Ubuntulibuv122.041.42.0-1vulnerable
Ubuntulibuv122.041.43.0-1vulnerable
Ubuntulibuv122.041.43.0-1ubuntu0.1fixed
Ubuntulibuv120.041.30.1-1vulnerable
Ubuntulibuv120.041.33.1-2vulnerable
Ubuntulibuv120.041.33.1-2ubuntu2vulnerable
Ubuntulibuv120.041.33.1-3ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.3vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.5fixed
Ubuntulibuv122.041.40.0-2ubuntu1vulnerable
Ubuntulibuv122.041.42.0-1vulnerable
Ubuntulibuv122.041.43.0-1vulnerable
Ubuntulibuv122.041.43.0-1ubuntu0.1fixed
Susenodejs20linux enterprise module for web and scripting 15 sp520.12.1-150500.11.9.2fixed
Opensusenodejs20leap 15.520.12.1-150500.11.9.2fixed
Opensuselibuvtumbleweed1.48.0-1.1fixed
Suselibuvlinux enterprise micro 5.51.44.2-150500.3.5.1fixed
Suselibuvlinux enterprise module for basesystem 15 sp51.44.2-150500.3.5.1fixed
Suselibuvlinux enterprise module for basesystem 15 sp61.44.2-150500.3.5.1fixed
Opensuselibuvleap 15.51.44.2-150500.3.5.1fixed
Opensuselibuvleap 15.61.44.2-150500.3.5.1fixed
Susenodejs18linux enterprise module for web and scripting 15 sp518.20.1-150400.9.21.3fixed
Susenodejs18linux enterprise high performance computing 15 sp4-espos18.20.1-150400.9.21.3fixed
Susenodejs18linux enterprise high performance computing 15 sp4-ltss18.20.1-150400.9.21.3fixed
Susenodejs18linux enterprise server 15 sp4-ltss18.20.1-150400.9.21.3fixed
Susenodejs18linux enterprise server for sap applications 15 sp418.20.1-150400.9.21.3fixed
Susenodejs18manager server 4.318.20.1-150400.9.21.3fixed
Opensusenodejs18leap 15.518.20.1-150400.9.21.3fixed
Susenodejs18linux enterprise module for web and scripting 1218.20.1-8.21.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibuv1sourcesid1.48.0-1not yet assignedNot reported[1063484]
Debianlibuv1sourceforky1.48.0-1not yet assignedNot reported[1063484]
Debianlibuv1sourcetrixie1.48.0-1not yet assignedNot reported[1063484]
Debianlibuv1sourcebookworm1.44.2-1+deb12u1not yet assignedNot reported[1063484]
Alpinelibuvapk3.201.48.0-r0Not reportedALPINE-CVE-2024-24806Not reported
Alpinelibuvapk3.211.48.0-r0Not reportedALPINE-CVE-2024-24806Not reported
Alpinelibuvapk3.221.48.0-r0Not reportedALPINE-CVE-2024-24806Not reported
Alpinelibuvapk3.231.48.0-r0Not reportedALPINE-CVE-2024-24806Not reported
Alpinelibuvapk3.241.48.0-r0Not reportedALPINE-CVE-2024-24806Not reported
Ubuntulibuv1deb20.041.34.2-1ubuntu1.5Not reportedUBUNTU-CVE-2024-24806Not reported
Ubuntulibuv1deb22.041.43.0-1ubuntu0.1Not reportedUBUNTU-CVE-2024-24806Not reported
Ubuntulibuv1deb20.041.34.2-1ubuntu1.5Not reportedUSN-6666-1Not reported
Ubuntulibuv1deb22.041.43.0-1ubuntu0.1Not reportedUSN-6666-1Not reported
Susenodejs20rpmlinux enterprise module for web and scripting 15 sp520.12.1-150500.11.9.2Not reportedSUSE-SU-2024:1301-1Not reported
Opensusenodejs20rpmleap 15.520.12.1-150500.11.9.2Not reportedSUSE-SU-2024:1301-1Not reported
Opensuselibuvrpmtumbleweed1.48.0-1.1Not reportedOPENSUSE-SU-2024:13818-1Not reported
Suselibuvrpmlinux enterprise micro 5.51.44.2-150500.3.5.1Not reportedSUSE-SU-2024:4109-1Not reported
Suselibuvrpmlinux enterprise module for basesystem 15 sp51.44.2-150500.3.5.1Not reportedSUSE-SU-2024:4109-1Not reported
Suselibuvrpmlinux enterprise module for basesystem 15 sp61.44.2-150500.3.5.1Not reportedSUSE-SU-2024:4109-1Not reported
Opensuselibuvrpmleap 15.51.44.2-150500.3.5.1Not reportedSUSE-SU-2024:4109-1Not reported
Opensuselibuvrpmleap 15.61.44.2-150500.3.5.1Not reportedSUSE-SU-2024:4109-1Not reported
Susenodejs18rpmlinux enterprise module for web and scripting 15 sp518.20.1-150400.9.21.3Not reportedSUSE-SU-2024:1309-1Not reported
Susenodejs18rpmlinux enterprise high performance computing 15 sp4-espos18.20.1-150400.9.21.3Not reportedSUSE-SU-2024:1309-1Not reported
Susenodejs18rpmlinux enterprise high performance computing 15 sp4-ltss18.20.1-150400.9.21.3Not reportedSUSE-SU-2024:1309-1Not reported
Susenodejs18rpmlinux enterprise server 15 sp4-ltss18.20.1-150400.9.21.3Not reportedSUSE-SU-2024:1309-1Not reported
Susenodejs18rpmlinux enterprise server for sap applications 15 sp418.20.1-150400.9.21.3Not reportedSUSE-SU-2024:1309-1Not reported
Susenodejs18rpmmanager server 4.318.20.1-150400.9.21.3Not reportedSUSE-SU-2024:1309-1Not reported
Opensusenodejs18rpmleap 15.518.20.1-150400.9.21.3Not reportedSUSE-SU-2024:1309-1Not reported
Susenodejs18rpmlinux enterprise module for web and scripting 1218.20.1-8.21.1Not reportedSUSE-SU-2024:1307-1Not reported

[Debian bug #1063484]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References