Read the docs
TI-2024-16323 Aliases CVE-2024-24806

Improper Domain Lookup that potentially leads to SSRF attacks in libuv

Priority HIGH 65CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Partial Red Hat: 6 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02003 80th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial libuv (libuv): 1.48.0Red Hat: 3 advisoriesRed Hat: 6 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
libuvlibuv1.45.0 to before 1.48.01.48.0Patch availableCNA
  • libuv Vendorlibuv Affected 1.45.0 to before 1.48.0 Fixed in 1.48.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libuv:libuv:*:*:*:*:*:*:*:*1.24.0 to before 1.48.0Vulnerablelibuv
  • cpe:2.3:a:libuv:libuv:*:*:*:*:*:*:*:* Versions 1.24.0 to before 1.48.0 Vulnerable ·libuv

Remediation

  • Fix · CNA libuv (libuv) Fixed in 1.48.0

Red Hat 3 advisories

  • RHSA-2024:8132 Released 2024-10-15 · Red Hat rating Moderate
    libuv security update
    • Red Hat CodeReady Linux Builder EUS (v.8.8) libuv-devel-1:1.41.1-1.el8_8.1
    • Red Hat Enterprise Linux AppStream EUS (v.8.8) libuv-1:1.41.1-1.el8_8.1
  • RHSA-2024:4756 Released 2024-07-23 · Red Hat rating Moderate
    libuv security update
    • Red Hat Enterprise Linux AppStream (v. 9) libuv-1:1.42.0-2.el9_4
    • Red Hat Enterprise Linux CRB (v. 9) libuv-devel-1:1.42.0-2.el9_4
  • RHSA-2024:4247 Released 2024-07-02 · Red Hat rating Moderate
    libuv security update
    • Red Hat Enterprise Linux AppStream (v. 8) libuv-1:1.41.1-2.el8_10
    • Red Hat Enterprise Linux CRB (v. 8) libuv-devel-1:1.41.1-2.el8_10

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Red Hat CodeReady Linux Builder EUS (v.8.8)Fixed RHSA-2024:8132
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2024:4247
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2024:4756
Red Hat Enterprise Linux AppStream EUS (v.8.8)Fixed RHSA-2024:8132
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2024:4247
Red Hat Enterprise Linux CRB (v. 9)Fixed RHSA-2024:4756

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-24806

References

  • TI-2014-07927 The uv_rwlock_t fallback implementation for Windows XP and Server 2003 in libuv before… CVSS 3.1HIGH 8.1

Sources