Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-28863

CVE-2024-28863: Isaacs Tar DOS Vulnerability

CVE-2024-28863 is a denial of service flaw in node-tar that allows attackers to crash Node.js through excessive subfolder creation. This article covers the technical details, affected versions, and mitigation steps.

Published: January 28, 2026

CVE-2024-28863 Overview

CVE-2024-28863 is a Denial of Service vulnerability affecting node-tar, the popular Tar archive library for Node.js. Prior to version 6.2.1, node-tar does not enforce any limit on the number of sub-folders that can be created during the extraction process. An attacker can craft a malicious tar archive containing an excessively deep directory structure that, when extracted, consumes available memory on the target system and can crash the Node.js process within seconds.

Critical Impact

Attackers can trigger memory exhaustion and crash Node.js applications by providing a specially crafted tar archive with deeply nested sub-folders, leading to denial of service conditions.

Affected Products

  • isaacs tar (node-tar) versions prior to 6.2.1
  • Node.js applications using vulnerable node-tar versions
  • Build systems and package managers relying on node-tar for archive extraction

Discovery Timeline

  • 2024-03-21 - CVE-2024-28863 published to NVD
  • 2025-12-16 - Last updated in NVD database

Technical Details for CVE-2024-28863

Vulnerability Analysis

This vulnerability falls under CWE-400 (Uncontrolled Resource Consumption), where the application fails to properly limit resource allocation in response to user input. The node-tar library processes tar archives and creates directory structures as specified within the archive without validating the depth of nested folders.

When processing a maliciously crafted archive, the recursive folder creation logic continues indefinitely, allocating memory for each directory level. This unbounded resource consumption can quickly exhaust available system memory, resulting in process termination or system instability.

Root Cause

The root cause lies in the absence of a maximum depth check in the folder creation logic within lib/unpack.js. Prior to the fix, the extraction process would attempt to create any directory structure specified in the tar archive, regardless of how deeply nested it was. This allowed attackers to specify paths with thousands of nested sub-folders, triggering exponential memory consumption during the extraction process.

Attack Vector

The attack requires user interaction where a victim must extract a malicious tar archive using a vulnerable version of node-tar. The attack is network-deliverable since malicious archives can be distributed via various channels including package repositories, file sharing services, or as part of software distribution. The exploitation results in high availability impact through memory exhaustion and application crash, while confidentiality and integrity remain unaffected.

The security patch introduces a DEFAULT_MAX_DEPTH constant to limit extraction depth:

javascript
 const getFlag = require('./get-write-flag.js')
 const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform
 const isWindows = platform === 'win32'
+const DEFAULT_MAX_DEPTH = 1024
 
 // Unlinks on Windows are not atomic.
 //

Source: GitHub Commit fe8cd57

Detection Methods for CVE-2024-28863

Indicators of Compromise

  • Sudden memory spikes in Node.js processes handling tar archive extraction
  • Node.js process crashes with out-of-memory errors during archive operations
  • Tar archives containing paths with unusually deep directory structures (exceeding 1024 levels)
  • Extraction operations taking abnormally long times before failing

Detection Strategies

  • Monitor dependency manifests (package.json, package-lock.json) for node-tar versions below 6.2.1
  • Implement software composition analysis (SCA) scanning to identify vulnerable node-tar installations
  • Set up alerts for Node.js process memory consumption anomalies during file extraction operations
  • Review application logs for extraction failures or memory allocation errors

Monitoring Recommendations

  • Configure resource limits (memory, CPU) for processes that handle user-provided archives
  • Implement alerting on Node.js heap memory usage exceeding normal operational thresholds
  • Monitor for repeated process restarts that could indicate exploitation attempts
  • Track archive extraction operations and flag those with excessive directory depth

How to Mitigate CVE-2024-28863

Immediate Actions Required

  • Upgrade node-tar to version 6.2.1 or later immediately
  • Audit all Node.js applications and build pipelines for node-tar dependencies
  • Review transitive dependencies that may include vulnerable node-tar versions
  • Implement input validation to reject archives before extraction if possible

Patch Information

The vulnerability is fixed in node-tar version 6.2.1. The patch introduces a default maximum depth limit of 1024 sub-folders for extraction operations. Organizations should update their dependencies using their package manager:

  • Review the GitHub Security Advisory GHSA-f5x3-32g6-xq36 for complete details
  • See the security patch commit for implementation specifics
  • NetApp Security Advisory provides additional vendor guidance

Workarounds

  • Implement process-level memory limits to contain potential resource exhaustion
  • Validate tar archive contents before extraction using archive inspection tools
  • Run extraction operations in isolated environments (containers, sandboxes) with resource constraints
  • Pre-scan archives for excessive path depth before processing with node-tar
bash
# Update node-tar to patched version
npm update tar@^6.2.1

# Or force update in package.json
npm install tar@6.2.1 --save

# Verify installed version
npm list tar

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNode Tar

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.45%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • NetApp Security Advisory
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31802: node-tar Path Traversal Vulnerability

  • CVE-2026-24842: node-tar Path Traversal Vulnerability

  • CVE-2026-23950: node-tar Race Condition Vulnerability

  • CVE-2026-23745: node-tar Path Traversal Vulnerability
Default Legacy - Prefooter | 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