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-37902

CVE-2024-37902: DeepJavaLibrary Path Traversal Flaw

CVE-2024-37902 is a path traversal vulnerability in DeepJavaLibrary (DJL) that allows attackers to overwrite system files through malicious archived artifacts. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-37902 Overview

CVE-2024-37902 is a critical path traversal vulnerability affecting DeepJavaLibrary (DJL), an Engine-Agnostic Deep Learning Framework in Java. DJL versions 0.1.0 through 0.27.0 fail to properly validate archived artifact paths, allowing attackers to use absolute paths within archives to write files directly to arbitrary locations on the system. This type of vulnerability, commonly known as a "Zip Slip" attack, can lead to overwriting critical system files and potentially achieving remote code execution.

Critical Impact

Attackers can leverage malicious archives to overwrite system files, potentially leading to complete system compromise through arbitrary file write capabilities with no authentication required.

Affected Products

  • DeepJavaLibrary (DJL) versions 0.1.0 through 0.27.0
  • DJL Large Model Inference containers prior to patched version 0.27.0

Discovery Timeline

  • 2024-06-17 - CVE-2024-37902 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-37902

Vulnerability Analysis

This vulnerability stems from improper input validation when processing archived artifacts (CWE-22: Improper Limitation of a Pathname to a Restricted Directory). When DJL extracts files from archives such as model files or dependencies, it fails to sanitize file paths contained within the archive. An attacker can craft a malicious archive containing entries with absolute paths or path traversal sequences (e.g., ../../../etc/passwd), which the library will extract without proper validation.

The attack can be executed remotely over the network without requiring any authentication or user interaction. Due to the nature of deep learning frameworks frequently downloading and extracting model archives from remote sources, this vulnerability poses a significant risk in machine learning pipelines and production environments where DJL is deployed.

Root Cause

The root cause lies in DJL's archive extraction logic, which does not validate that extracted file paths remain within the intended destination directory. When processing archive entries, the library directly uses the path specified in the archive without checking for path traversal sequences or absolute paths. This allows attackers to escape the intended extraction directory and write files to arbitrary locations on the filesystem.

Attack Vector

The attack is network-based and can be triggered when a DJL application processes a maliciously crafted archive. Attack scenarios include:

  1. Supply Chain Attack: An attacker compromises a model repository or CDN serving DJL artifacts, replacing legitimate archives with malicious ones
  2. Man-in-the-Middle: Intercepting model downloads and injecting malicious archive content
  3. User-Supplied Input: Applications that allow users to upload or specify model archives could be exploited directly

The vulnerability allows writing files with the permissions of the running process. If the DJL application runs with elevated privileges, attackers could overwrite critical system files such as /etc/passwd, SSH authorized keys, or application configuration files to achieve persistent access or remote code execution.

Detection Methods for CVE-2024-37902

Indicators of Compromise

  • Unexpected file modifications in system directories outside of the DJL installation path
  • Archive extraction operations writing to paths containing .. sequences or absolute paths
  • Modified system configuration files or unauthorized SSH keys appearing after DJL operations
  • Suspicious model downloads from untrusted or unexpected sources

Detection Strategies

  • Monitor file system activity during DJL archive extraction operations for writes outside expected directories
  • Implement application-level logging to track all archive extraction destinations
  • Use file integrity monitoring (FIM) on critical system files and directories
  • Deploy SentinelOne's behavioral AI to detect anomalous file write patterns from Java processes

Monitoring Recommendations

  • Enable verbose logging in DJL applications to capture archive extraction paths
  • Configure alerts for file writes to sensitive system directories from Java applications
  • Monitor network traffic for downloads of model archives from untrusted sources
  • Implement checksum verification for all downloaded model artifacts

How to Mitigate CVE-2024-37902

Immediate Actions Required

  • Upgrade DJL to version 0.28.0 or later immediately
  • For DJL Large Model Inference containers, ensure you are using the patched version 0.27.0
  • Audit all deployed applications using DJL and identify vulnerable versions
  • Review file system permissions to limit the impact of potential exploitation

Patch Information

The vulnerability has been fixed in DJL version 0.28.0. Users should upgrade to this version or later to remediate the vulnerability. For detailed release information, see the GitHub Release v0.28.0. Additional security details are available in the GitHub Security Advisory GHSA-w877-jfw7-46rj.

Workarounds

  • Run DJL applications with minimal file system permissions using principle of least privilege
  • Implement network-level controls to restrict model downloads to trusted repositories only
  • Use containerization with read-only root filesystems where possible to limit file write capabilities
  • Validate archive contents before extraction using external tools that check for path traversal sequences
bash
# Verify DJL version in Maven project
mvn dependency:tree | grep djl

# Update DJL dependency in pom.xml to safe version
# Change version from vulnerable (0.1.0-0.27.0) to 0.28.0 or later

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechDjl

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v0.28.0

  • GitHub Security Advisory GHSA-w877-jfw7-46rj
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs 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