The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-22025

CVE-2024-22025: Node.js fetch() DoS Vulnerability

CVE-2024-22025 is a denial of service vulnerability in Node.js that exploits Brotli decoding in the fetch() function to exhaust system resources. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-22025 Overview

A Denial of Service (DoS) vulnerability has been identified in Node.js affecting the fetch() function. This vulnerability allows attackers to cause resource exhaustion when the function retrieves content from an untrusted URL. The issue arises because Node.js always decodes Brotli compression without proper resource limits, enabling malicious actors to craft responses that consume excessive memory resources.

Critical Impact

An attacker controlling a URL passed to fetch() can exploit this vulnerability to exhaust system memory, potentially leading to process termination depending on system configuration.

Affected Products

  • Node.js (versions using the vulnerable fetch() implementation)
  • Debian Linux (addressed in LTS advisories)
  • NetApp products (see NetApp Security Advisory ntap-20240517-0008)

Discovery Timeline

  • 2024-03-19 - CVE-2024-22025 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2024-22025

Vulnerability Analysis

This vulnerability is classified as CWE-404 (Improper Resource Shutdown or Release) and manifests in the Brotli decompression handling within Node.js's fetch() API. When a Node.js application uses fetch() to retrieve content from an external URL, the function automatically decodes Brotli-compressed responses without implementing adequate safeguards against decompression bombs or excessively large decompressed outputs.

The attack requires user interaction in the sense that a user or application must be tricked into fetching content from a malicious URL. However, the attack itself can be executed remotely over the network without any authentication requirements. The vulnerability exclusively impacts system availability without compromising data confidentiality or integrity.

Root Cause

The root cause lies in the unconditional Brotli decompression behavior of the fetch() function. When processing HTTP responses, Node.js automatically applies Brotli decompression to appropriately encoded content without enforcing limits on the resulting decompressed data size. This design allows an attacker-controlled server to send a small, highly compressed payload that expands to a massive size in memory during decompression.

Attack Vector

The attack vector is network-based and requires an attacker to control or compromise a URL that will be fetched by the vulnerable Node.js application. The exploitation scenario typically involves:

  1. The attacker hosts or controls a malicious server that serves Brotli-compressed content
  2. The victim application calls fetch() with the attacker-controlled URL
  3. The malicious server responds with a small Brotli-compressed payload designed to expand dramatically
  4. Node.js automatically decompresses the response, consuming excessive memory
  5. Memory exhaustion occurs, potentially crashing the Node.js process

The vulnerability is particularly dangerous in scenarios where user-supplied URLs are fetched server-side, such as URL preview features, web scraping functionality, or API integrations that fetch external resources.

Detection Methods for CVE-2024-22025

Indicators of Compromise

  • Unusual memory consumption spikes in Node.js processes, particularly during HTTP fetch operations
  • Process crashes or out-of-memory (OOM) terminations in applications using fetch() with external URLs
  • Network traffic showing small inbound responses with Content-Encoding: br headers followed by memory exhaustion
  • Application logs indicating memory allocation failures or heap limit exceeded errors

Detection Strategies

  • Monitor Node.js process memory usage and set alerting thresholds for abnormal growth patterns
  • Implement application-level logging for all fetch() calls to external URLs, including response sizes
  • Deploy network monitoring to identify unusually small Brotli-encoded responses from suspicious sources
  • Use runtime application self-protection (RASP) tools to detect and block resource exhaustion attacks

Monitoring Recommendations

  • Enable memory profiling in production Node.js applications to baseline normal memory consumption
  • Configure container or process memory limits with appropriate restart policies to prevent system-wide impact
  • Implement URL allowlisting where possible to restrict fetch() destinations to trusted domains
  • Monitor for repeated crash-restart cycles in Node.js services which may indicate active exploitation attempts

How to Mitigate CVE-2024-22025

Immediate Actions Required

  • Update Node.js to the latest patched version that addresses CVE-2024-22025
  • Audit application code to identify all uses of fetch() with user-controlled or external URLs
  • Implement URL validation and allowlisting to restrict which domains can be fetched
  • Configure process memory limits and monitoring to contain potential exploitation impact

Patch Information

Security patches addressing this vulnerability have been released. Refer to the official advisories for specific patch information:

  • HackerOne Report #2284065 - Original vulnerability report
  • Debian LTS Advisory March 2024 - Debian package updates
  • Debian LTS Advisory September 2024 - Additional Debian updates
  • NetApp Security Advisory ntap-20240517-0008 - NetApp product guidance

Workarounds

  • Implement a proxy layer that validates and limits response sizes before passing content to Node.js applications
  • Use alternative HTTP client libraries that provide explicit control over decompression behavior and size limits
  • Deploy application-level timeouts and memory limits on fetch() operations to prevent unbounded resource consumption
  • Avoid using fetch() with untrusted URLs; use server-side URL validation and sanitization when external fetching is required
bash
# Example: Setting Node.js memory limits to contain DoS impact
node --max-old-space-size=512 app.js

# Example: Using process manager with memory limits
pm2 start app.js --max-memory-restart 500M

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNode Js

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-404
  • Technical References
  • HackerOne Report #2284065

  • Debian LTS Advisory March 2024

  • NetApp Security Advisory ntap-20240517-0008

  • Debian LTS Advisory September 2024
  • Related CVEs
  • CVE-2025-59464: Node.js OpenSSL Memory Leak DoS Vulnerability

  • CVE-2025-53620: Qwik City DoS Vulnerability

  • CVE-2025-23166: Node.js Runtime Denial of Service Flaw

  • CVE-2025-23165: Node.js Memory Leak DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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