A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-24806

CVE-2024-24806: Libuv SSRF Vulnerability

CVE-2024-24806 is an SSRF vulnerability in Libuv caused by hostname truncation in uv_getaddrinfo. Attackers can craft payloads that resolve to unintended IP addresses, bypassing security checks and accessing internal APIs.

Updated: May 15, 2026

CVE-2024-24806 Overview

CVE-2024-24806 affects libuv, a multi-platform support library focused on asynchronous I/O used by Node.js and many other projects. The uv_getaddrinfo function in src/unix/getaddrinfo.c and src/win/getaddrinfo.c truncates hostnames to 256 characters before calling getaddrinfo. Attackers can craft long hostnames that resolve to unintended IP addresses, bypassing developer-implemented hostname validation. The flaw enables Server-Side Request Forgery (SSRF) attacks [CWE-918] against services that crawl, cache, or proxy user-supplied hostnames such as username.example.com subdomain platforms.

Critical Impact

Attackers can bypass hostname allowlists and force internal services to resolve and connect to attacker-chosen IP addresses, exposing internal APIs to SSRF.

Affected Products

  • libuv versions prior to 1.48.0
  • Applications and runtimes embedding vulnerable libuv (including Node.js builds linked against affected versions)
  • Downstream distributions including Debian LTS and NetApp products that bundle libuv

Discovery Timeline

  • 2024-02-07 - CVE-2024-24806 published to the National Vulnerability Database (NVD)
  • 2024-02-08 - Public discussion opened on the Openwall OSS-Security mailing list
  • 2024-03-11 - Debian LTS advisory released for affected packages
  • 2024-06-05 - NetApp security advisory published
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-24806

Vulnerability Analysis

The vulnerability stems from improper handling of the hostname_ascii buffer inside uv_getaddrinfo and uv__idna_toascii. The buffer is fixed at 256 bytes. When a caller supplies a hostname longer than 256 characters, libuv truncates the input without writing a terminating null byte. The resulting non-null-terminated buffer is then passed to the system resolver, which interprets adjacent stack data or truncated content as part of the address.

An attacker can craft inputs that result in addresses like 0x00007f000001, which getaddrinfo accepts as the loopback address 127.0.0.1. Developer-side hostname checks that inspect the original input string are bypassed because the resolver operates on the truncated, malformed value.

Root Cause

The root cause is a missing length check and missing null terminator in src/idna.c. The uv__idna_toascii function writes Punycode-encoded output into a destination buffer but did not guarantee a trailing \0 when the destination was fully consumed. The fix enforces input validation and reserves space for the terminator.

Attack Vector

An attacker submits a hostname exceeding 256 characters to an application that uses libuv for DNS resolution. The truncated hostname is parsed by getaddrinfo as a numeric IP literal, redirecting connections to attacker-chosen targets such as internal services on 127.0.0.1 or RFC1918 ranges. The attack requires no authentication and no user interaction, and it executes over the network.

c
// Patch in src/idna.c - always zero-terminate idna output
       return rc;
   }
 
-  if (d < de)
-    *d++ = '\0';
+  if (d >= de)
+    return UV_EINVAL;
 
+  *d++ = '\0';
   return d - ds;  /* Number of bytes written. */
 }

Source: GitHub libuv Commit Fix

c
// Patch in src/idna.c - reject zero-length idna inputs
   char* ds;
   int rc;
 
+  if (s == se)
+    return UV_EINVAL;
+
   ds = d;
 
   si = s;

Source: GitHub libuv Commit Update

Detection Methods for CVE-2024-24806

Indicators of Compromise

  • Outbound DNS or connection attempts originating from application servers toward loopback or internal RFC1918 addresses that were not part of expected business logic.
  • Application logs containing hostname inputs exceeding 256 characters submitted to URL parsers or HTTP clients.
  • Resolver behavior where input hostnames differ from the resolved target due to numeric IP literal interpretation.

Detection Strategies

  • Inventory all applications and runtimes statically or dynamically linked against libuv and verify versions against 1.48.0.
  • Inspect HTTP access and proxy logs for unusually long hostname fields, particularly in user-controlled URL parameters or subdomain inputs.
  • Use software composition analysis (SCA) tools to flag vulnerable libuv versions inside Node.js and embedded application stacks.

Monitoring Recommendations

  • Alert on egress connections from web crawler or preview services to internal IP ranges, including 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
  • Log and review hostname inputs longer than 255 characters at WAF and reverse-proxy layers.
  • Track the GitHub Security Advisory GHSA-f74f-cvh7-c6q6 for updated guidance and downstream patches.

How to Mitigate CVE-2024-24806

Immediate Actions Required

  • Upgrade libuv to version 1.48.0 or later across all systems and rebuild dependent applications.
  • Update Node.js to a release that bundles patched libuv, and apply distribution updates referenced in the Debian LTS Announcement and NetApp Security Advisory.
  • Enforce server-side hostname length limits before passing user-supplied values to DNS resolution or HTTP client libraries.

Patch Information

The fix is included in libuv release 1.48.0. The relevant upstream commits are 0f2d7e78, 3530bcc3, c858a147, and e0327e1d. Full details are published in the GitHub libuv Security Advisory.

Workarounds

  • No vendor-supplied workarounds exist; upgrading is the only complete remediation.
  • As a compensating control, reject hostnames longer than 255 characters at the application input layer.
  • Block outbound traffic from application servers to internal networks unless explicitly required by business logic.
bash
# Verify installed libuv version on Linux
ldconfig -p | grep libuv
dpkg -l | grep libuv1

# Node.js process_versions check
node -e "console.log(process.versions)"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechLibuv

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.19%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-918
  • Technical References
  • Openwall OSS-Security Discussion

  • Openwall OSS-Security Update

  • Openwall OSS-Security Notice

  • Kitware CMake Issue Tracker

  • Debian LTS Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • GitHub libuv Commit Fix

  • GitHub libuv Commit Update

  • GitHub libuv Commit Change

  • GitHub libuv Commit Improvement

  • GitHub libuv Security Advisory
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English