CVE-2024-24806 | Improper Domain Lookup that potentially leads to SSRF attacks in libuv

Exp

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.

Published: 2024-02-07 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-24806 is rated High Exploit Risk (73.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.00%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.80% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-24806

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-24806

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.21% 2.00% +1.80%
2 2026-03-04 0.33% 0.21% -0.12%
3 2026-03-01 0.33%

Full EPSS history (39 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-24806

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.3 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 3.4 [email protected]
7.3 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 3.4 [email protected]

Weakness enumeration for CVE-2024-24806

OS Trackers for CVE-2024-24806

vendor priority summary link
alpine CVE-2024-24806: 1 source package rows (libuv); 12 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 4, open 8. https://security.alpinelinux.org/vuln/CVE-2024-24806
debian not yet assigned CVE-2024-24806 not yet assigned priority: Debian including 1 source packages (libuv1), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-24806
gentoo normal CVE-2024-24806: 1 GLSA(s) (202501-05), 1 atom(s) (dev-libs/libuv); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-24806
redhat medium https://access.redhat.com/security/cve/CVE-2024-24806
suse medium CVE-2024-24806 severity moderate: SUSE including 323 source package names (0.3.2-1.2:libuv1-1.44.2-150500.3.5.1, 0.9.1-1.2:libuv1-1.44.2-150500.3.5.1, …), 862 product×package rows across 228 product lines (Container bci/nodejs, Container containers/apache-pulsar, … (228 product lines)): Fixed 527, Known Affected 231, Known Not Affected 104. https://www.suse.com/security/cve/CVE-2024-24806/
ubuntu medium CVE-2024-24806 medium priority: Ubuntu including 1 source packages (libuv1), 8 status rows across 8 suites (bionic, focal, jammy, mantic, noble, trusty, upstream, xenial): not-affected 3, released 3, DNE 1, needs-triage 1. https://ubuntu.com/security/CVE-2024-24806

Affected software / configurations for CVE-2024-24806

Vendor Product Version Raw CPE
libuv libuv >= 1.24.0, < 1.48.0 cpe:2.3:a:libuv:libuv:*:*:*:*:*:*:*:*

References for CVE-2024-24806

URL Tags
http://www.openwall.com/lists/oss-security/2024/02/08/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/02/11/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/03/11/1
https://github.com/libuv/libuv/commit/0f2d7e784a256b54b2385043438848047bc2a629 Patch
https://github.com/libuv/libuv/commit/3530bcc30350d4a6ccf35d2f7b33e23292b9de70 Patch
https://github.com/libuv/libuv/commit/c858a147643de38a09dd4164758ae5b685f2b488 Patch
https://github.com/libuv/libuv/commit/e0327e1d508b8207c9150b6e582f0adf26213c39 Patch
https://github.com/libuv/libuv/security/advisories/GHSA-f74f-cvh7-c6q6 Exploit Vendor Advisory
https://gitlab.kitware.com/cmake/cmake/-/issues/26112
https://lists.debian.org/debian-lts-announce/2024/03/msg00005.html
https://security.netapp.com/advisory/ntap-20240605-0008/
cvelogic Threat Intelligence