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-2021-33036

CVE-2021-33036: Apache Hadoop Privilege Escalation Flaw

CVE-2021-33036 is a privilege escalation vulnerability in Apache Hadoop that allows yarn users to execute arbitrary commands as root. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-33036 Overview

CVE-2021-33036 is a privilege escalation vulnerability affecting Apache Hadoop that allows a user who can escalate to the yarn user to potentially execute arbitrary commands as root. This vulnerability stems from path traversal weaknesses (CWE-22, CWE-24) in the YARN (Yet Another Resource Negotiator) component, which is responsible for cluster resource management and job scheduling in Hadoop deployments.

The vulnerability affects multiple major Hadoop version branches, making it a significant concern for organizations running big data infrastructure. Successful exploitation could lead to complete system compromise, allowing attackers to gain full administrative control over Hadoop cluster nodes.

Critical Impact

Attackers who can escalate to the yarn user may execute arbitrary commands with root privileges, potentially compromising entire Hadoop cluster infrastructure.

Affected Products

  • Apache Hadoop versions 2.2.0 to 2.10.1
  • Apache Hadoop versions 3.0.0-alpha1 to 3.1.4
  • Apache Hadoop versions 3.2.0 to 3.2.2
  • Apache Hadoop versions 3.3.0 to 3.3.1

Discovery Timeline

  • June 15, 2022 - CVE-2021-33036 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-33036

Vulnerability Analysis

This privilege escalation vulnerability exists in Apache Hadoop's YARN component and is classified under CWE-22 (Path Traversal) and CWE-24 (Path Traversal: '../filedir'). The vulnerability allows an attacker who has already gained access as the yarn user to leverage improper path handling to escalate their privileges to root.

The attack requires low privileges and no user interaction, making it relatively straightforward for an attacker who has established initial access to the system. Once exploited, the attacker gains complete control over the affected node, with the ability to execute arbitrary commands with root privileges.

Root Cause

The root cause of CVE-2021-33036 lies in insufficient validation of file paths within the YARN component. The vulnerability allows path traversal sequences (such as ../) to escape intended directory boundaries. This improper neutralization of special elements used in path names enables attackers to access or manipulate files outside the intended directory structure, ultimately leading to privilege escalation.

The YARN service processes certain file operations with elevated privileges, and the path traversal weakness allows an attacker controlling the yarn user to inject malicious path components that result in operations being performed with root privileges.

Attack Vector

The attack vector is network-based, requiring the attacker to first authenticate as a low-privileged user capable of escalating to the yarn user. The attack flow typically involves:

  1. Initial access to the Hadoop cluster with minimal privileges
  2. Escalation to the yarn user account through legitimate means or other vulnerabilities
  3. Exploitation of the path traversal vulnerability to inject malicious path sequences
  4. Execution of arbitrary commands with root-level privileges

The path traversal vulnerability is exploited by crafting requests that contain directory traversal sequences, allowing the attacker to escape the intended directory boundaries and access sensitive system resources or execute privileged operations.

Detection Methods for CVE-2021-33036

Indicators of Compromise

  • Unusual process execution originating from the yarn user with root privileges
  • Log entries showing path traversal patterns (e.g., ../ sequences) in YARN-related operations
  • Unexpected file access or modifications in system directories by YARN processes
  • Authentication or authorization anomalies involving the yarn service account

Detection Strategies

  • Monitor YARN service logs for suspicious path patterns containing directory traversal sequences
  • Implement file integrity monitoring on critical system directories to detect unauthorized modifications
  • Configure security information and event management (SIEM) rules to alert on privilege escalation patterns from the yarn user
  • Deploy endpoint detection solutions capable of identifying anomalous process hierarchies and privilege changes

Monitoring Recommendations

  • Enable verbose logging for YARN ResourceManager and NodeManager components
  • Monitor process trees for unexpected parent-child relationships involving yarn processes and root-privileged operations
  • Implement network segmentation to limit lateral movement within Hadoop clusters
  • Review authentication logs for anomalous yarn user activity patterns

How to Mitigate CVE-2021-33036

Immediate Actions Required

  • Identify all Apache Hadoop installations within the affected version ranges (2.2.0 to 2.10.1, 3.0.0-alpha1 to 3.1.4, 3.2.0 to 3.2.2, 3.3.0 to 3.3.1)
  • Prioritize patching based on exposure level and criticality of Hadoop cluster data
  • Review access controls for the yarn user and restrict unnecessary privileges
  • Audit recent yarn user activity for signs of compromise

Patch Information

Apache has released patched versions that address this vulnerability. Organizations should upgrade to the following versions or higher:

  • Apache Hadoop 2.10.2 (for 2.x branch users)
  • Apache Hadoop 3.2.3 (for 3.2.x branch users)
  • Apache Hadoop 3.3.2 (for 3.3.x branch users)

For detailed patch information, refer to the Apache Mailing List Thread and the NetApp Security Advisory.

Workarounds

  • Implement strict access controls to limit who can escalate to the yarn user
  • Apply network segmentation to isolate Hadoop cluster nodes from sensitive systems
  • Monitor and restrict the yarn user's ability to execute system commands
  • Consider implementing additional container isolation for YARN workloads where possible

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechApache Hadoop

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability2.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-24

  • CWE-22
  • Technical References
  • Openwall OSS-Security Discussion

  • NetApp Security Advisory
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2023-26031: Apache Hadoop Privilege Escalation Flaw

  • CVE-2025-27821: Apache Hadoop Buffer Overflow Vulnerability

  • CVE-2024-23454: Apache Hadoop Information Disclosure Flaw

  • CVE-2022-25168: Apache Hadoop RCE 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