7.3

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

Modified
AliasesALPINE-CVE-2024-24806MGASA-2024-0079SUSE-SU-2024:4109-1
Published 07-02-2024Last modified 17-06-2025

Vulnerability summary

CVE-2024-24806 is a high (CVSS 7.3) Server-Side Request Forgery vulnerability in libuv. EPSS estimates a 2.00% chance of exploitation in the next 30 days, higher than 80.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.3/10
010
High · v3.1 (CVE.org)
EPSS score
2.00%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 12 · Related 19

Timeline

  1. 07-02-2024
    PublishedVulnerability first disclosed.
  2. 17-06-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

2.00%

Chance of exploitation in the next 30 days

Percentile

81%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.00% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Libuv

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard5 products
  • libuv< 1.48.0-r0
  • nodejs-16< 16.20.2-r4
  • nodejs-18< 18.19.0-r2
  • nodejs-20< 20.11.0-r1
  • nodejs-21< 21.6.1-r1
Wolfi5 products
  • libuv< 1.48.0-r0
  • nodejs-16< 16.20.2-r4
  • nodejs-18< 18.19.0-r2
  • nodejs-20< 20.11.0-r1
  • nodejs-21< 21.6.1-r1
Redhat4 products
  • libuv< 1:1.41.1-2.el8_10 | < 1:1.42.0-2.el9_4 | < 1:1.41.1-1.el8_8.1
  • libuv-debuginfo< 1:1.41.1-2.el8_10 | < 1:1.42.0-2.el9_4 | < 1:1.41.1-1.el8_8.1
  • libuv-debugsource< 1:1.41.1-2.el8_10 | < 1:1.42.0-2.el9_4 | < 1:1.41.1-1.el8_8.1
  • libuv-devel< 1:1.41.1-2.el8_10 | < 1:1.42.0-2.el9_4 | < 1:1.41.1-1.el8_8.1
Opensuse3 products
  • libuv&distro=openSUSE Leap 15.5< 1.44.2-150500.3.5.1
  • libuv&distro=openSUSE Leap 15.6< 1.44.2-150500.3.5.1
  • libuv&distro=openSUSE Tumbleweed< 1.48.0-1.1
Suse3 products
  • libuv&distro=SUSE Linux Enterprise Micro 5.5< 1.44.2-150500.3.5.1
  • libuv&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 1.44.2-150500.3.5.1
  • libuv&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 1.44.2-150500.3.5.1
Alpine1 product
  • libuv≥ 1.24.0, < 1.48.0-r0
Debian1 product
  • libuv1< 1.40.0-2+deb11u1 | < 1.24.1-1+deb10u2 | < 1.44.2-1+deb12u1 | < 1.48.0-1
Libuv1 product
  • libuv≥ 1.45.0, < 1.48.0 | ≥ 1.24.0, < 1.48.0
Mageia1 product
  • libuv< 1.44.2-2.1.mga9
Ubuntu1 product
  • libuv1< 1.34.2-1ubuntu1.5 | < 1.43.0-1ubuntu0.1

10 vendors · 25 products

References

35 links
Show all 35 references