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

CVE-2024-23454: Apache Hadoop Information Disclosure Flaw

CVE-2024-23454 is an information disclosure vulnerability in Apache Hadoop where RunJar.run() fails to set proper permissions on temporary directories, exposing sensitive data to local users on unix-like systems.

Updated: May 15, 2026

CVE-2024-23454 Overview

CVE-2024-23454 affects Apache Hadoop's RunJar.run() method, which fails to set restrictive permissions on the temporary directory it creates. On Unix-like systems, the system temporary directory is shared across all local users. Files written there without explicit POSIX permissions inherit default permissions that allow other local users to read the contents. When Hadoop jobs unpack sensitive data into this directory, any local user on the same host can view it.

The issue is classified as [CWE-378: Creation of Temporary File With Insecure Permissions]. It is a local information disclosure flaw, not a remote code execution issue, and requires an attacker to already have a local account on the affected host.

Critical Impact

Local users on shared Hadoop hosts can read sensitive data written by other users' jobs through the world-readable temporary directory created by RunJar.run().

Affected Products

  • Apache Hadoop (all versions prior to the fix referenced in HADOOP-19031)
  • NetApp products bundling Apache Hadoop components (see NetApp Security Advisory NTAP-20241101-0002)
  • Unix-like deployments where multiple users share a single host

Discovery Timeline

  • 2024-09-25 - CVE-2024-23454 published to NVD and announced on the OpenWall OSS Security list
  • 2024-11-01 - NetApp issues advisory NTAP-20241101-0002 covering bundled Hadoop components
  • 2025-11-13 - Last updated in NVD database

Technical Details for CVE-2024-23454

Vulnerability Analysis

Apache Hadoop ships a utility class named RunJar that executes JAR files submitted to the cluster. As part of execution, RunJar.run() extracts the JAR contents into a working directory derived from the system temporary directory, typically /tmp on Linux. The method creates this working directory using standard Java file APIs without calling Files.setPosixFilePermissions() or equivalent to restrict access.

Because /tmp is shared and world-readable on Unix-like systems, any directory created there without an explicit chmod inherits permissions that allow other local accounts to traverse and read its contents. Hadoop jobs commonly stage configuration files, credentials, intermediate datasets, and unpacked JAR resources in this location. A local attacker on the same node can list and read these files while the job is running.

The vulnerability does not require authentication to the Hadoop cluster itself. It only requires shell access to a host where RunJar executes.

Root Cause

The root cause is a missing permissions assignment when RunJar.run() creates its working directory. The Java code relies on default umask behavior rather than explicitly setting owner-only POSIX permissions (0700). On multi-tenant Linux hosts, the default umask does not produce sufficiently restrictive permissions to protect job data from other local users.

Attack Vector

Exploitation is local. An attacker with an unprivileged shell account on a Hadoop worker, edge node, or gateway monitors /tmp for new directories created by the user running RunJar. The attacker then reads files inside the working directory during the job's execution window. No special tooling is required, only standard Unix commands such as ls, find, and cat.

The vulnerability does not enable code execution, write access, or denial of service. The impact is limited to confidentiality of data staged by RunJar. Refer to the Apache JIRA HADOOP-19031 ticket and the Apache mailing list thread for the upstream discussion and patch details.

Detection Methods for CVE-2024-23454

Indicators of Compromise

  • Directories under /tmp created by Hadoop user accounts with permissions broader than 0700 (for example, 0755 or 0775)
  • Unexpected ls, cat, find, or cp activity from local non-Hadoop accounts targeting paths matching /tmp/hadoop-* or /tmp/*RunJar*
  • Access events on staged JAR contents by user IDs other than the job owner

Detection Strategies

  • Audit file system access on Hadoop nodes with auditd rules monitoring read events under /tmp for paths created by the Hadoop service account
  • Run periodic scans for directories in /tmp owned by Hadoop users where the group or world permission bits are set
  • Correlate process telemetry for java ... RunJar invocations with subsequent file reads by unrelated user IDs

Monitoring Recommendations

  • Forward auditd and shell command history from Hadoop hosts to a centralized logging platform for retention and search
  • Alert on local privilege boundary violations where one user reads files created by another inside shared temporary directories
  • Track changes to the Hadoop installation, core-site.xml, and hadoop.tmp.dir configuration to confirm the patched version is in use

How to Mitigate CVE-2024-23454

Immediate Actions Required

  • Upgrade Apache Hadoop to a release that includes the fix from HADOOP-19031
  • Inventory all hosts running RunJar and restrict interactive local access to trusted operators only
  • Set hadoop.tmp.dir to a directory outside /tmp that is owned by the Hadoop service account with 0700 permissions
  • Review historical job outputs in /tmp for sensitive data exposure and rotate any credentials that may have been staged there

Patch Information

The Apache Hadoop project addressed the issue in the commit referenced by HADOOP-19031. The patch updates RunJar.run() to create its working directory with owner-only POSIX permissions. Downstream vendors including NetApp have published advisories tracking the fix in their bundled distributions. Consult vendor documentation for the specific patched version applicable to your deployment.

Workarounds

  • Configure hadoop.tmp.dir and java.io.tmpdir to point to a directory with 0700 permissions owned by the Hadoop service account
  • Restrict shell access on Hadoop nodes so only the service account and administrators can log in locally
  • Mount a dedicated, non-shared temporary filesystem for Hadoop workloads on multi-tenant hosts
bash
# Configuration example: restrict Hadoop temporary directory permissions
sudo mkdir -p /var/lib/hadoop/tmp
sudo chown hadoop:hadoop /var/lib/hadoop/tmp
sudo chmod 0700 /var/lib/hadoop/tmp

# In core-site.xml
# <property>
#   <name>hadoop.tmp.dir</name>
#   <value>/var/lib/hadoop/tmp</value>
# </property>

# Pass a restricted java.io.tmpdir to the JVM
export HADOOP_OPTS="$HADOOP_OPTS -Djava.io.tmpdir=/var/lib/hadoop/tmp"

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache Hadoop

  • SeverityMEDIUM

  • CVSS Score6.2

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-378
  • Technical References
  • OpenWall OSS Security Update

  • NetApp Security Advisory NTAP-20241101-0002
  • Vendor Resources
  • Apache JIRA Issue HADOOP-19031

  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2025-27821: Apache Hadoop Buffer Overflow Vulnerability

  • CVE-2023-26031: Apache Hadoop Privilege Escalation Flaw

  • CVE-2022-25168: Apache Hadoop RCE Vulnerability

  • CVE-2021-37404: Apache Hadoop Buffer Overflow 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