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

CVE-2024-22029: Tomcat Privilege Escalation Vulnerability

CVE-2024-22029 is a privilege escalation flaw in Tomcat packaging that allows local users to gain root access through a race condition during installation. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2024-22029 Overview

CVE-2024-22029 is a local privilege escalation vulnerability affecting the packaging of Apache Tomcat on SUSE Linux distributions. The vulnerability stems from insecure permissions during package installation, which creates a race condition that can be exploited by local users to escalate their privileges to root. This Time-of-Check Time-of-Use (TOCTOU) race condition occurs during the package installation process, allowing an attacker with local access and proper timing to gain complete control over the affected system.

Critical Impact

Local attackers can exploit a race condition during Tomcat package installation to escalate privileges from a low-privileged user to root, potentially compromising the entire system.

Affected Products

  • Apache Tomcat packages on SUSE Linux distributions
  • SUSE Linux Enterprise Server with Tomcat installed
  • openSUSE distributions with Tomcat packages

Discovery Timeline

  • 2024-10-16 - CVE CVE-2024-22029 published to NVD
  • 2025-08-26 - Last updated in NVD database

Technical Details for CVE-2024-22029

Vulnerability Analysis

This vulnerability is classified under CWE-732 (Incorrect Permission Assignment for Critical Resource). The core issue lies in how the Tomcat package sets file and directory permissions during the installation process on SUSE-based systems. During package installation, there exists a brief window where file permissions are not properly secured, creating a race condition that local users can exploit.

The attack requires local access to the system and the ability to execute code during the narrow time window when the Tomcat package is being installed or updated. An attacker who wins this race can manipulate files or directories before proper permissions are applied, ultimately achieving root-level access.

The vulnerability requires local access and low privileges to exploit. The attacker does not need user interaction, and successful exploitation results in complete compromise of confidentiality, integrity, and availability on the affected system.

Root Cause

The root cause is improper permission handling in the Tomcat packaging scripts for SUSE distributions. During the installation sequence, critical files or directories are created with overly permissive settings before being locked down. This TOCTOU window allows attackers to interject malicious content or symbolic links that are then processed with elevated privileges by the installation scripts.

Attack Vector

The attack vector is local, requiring an attacker to have existing access to the target system. The exploitation flow typically involves:

  1. An attacker monitors for Tomcat package installation or update activity on the target system
  2. During the brief permission-vulnerable window, the attacker races to modify, replace, or symlink targeted files
  3. If successful, the attacker's modifications are processed by the package installation scripts running with root privileges
  4. The attacker gains root-level access through the manipulated installation process

The exploitation technique involves identifying the specific files or directories that are vulnerable during installation and preparing race condition exploits (such as symbolic link attacks or file content manipulation) to execute during the precise moment of vulnerability.

Detection Methods for CVE-2024-22029

Indicators of Compromise

  • Unexpected symbolic links pointing to system-critical files in Tomcat installation directories
  • Unusual file ownership or permission changes during or after Tomcat package operations
  • Evidence of rapid file system operations targeting Tomcat directories during package installation
  • Suspicious processes monitoring package manager activity

Detection Strategies

  • Monitor for unusual inotify or file system watch operations targeting /var/lib/tomcat or related directories during package operations
  • Implement file integrity monitoring (FIM) on Tomcat installation directories to detect unexpected modifications
  • Log and alert on package installation events combined with concurrent low-privileged user activity
  • Use auditd rules to track file creation and permission changes in Tomcat directories

Monitoring Recommendations

  • Enable comprehensive auditing of package manager operations on systems running Tomcat
  • Configure SIEM rules to correlate package installation events with suspicious local user activity
  • Deploy endpoint detection solutions capable of identifying race condition exploitation attempts
  • Implement real-time alerting for privilege escalation indicators on Tomcat servers

How to Mitigate CVE-2024-22029

Immediate Actions Required

  • Apply updated Tomcat packages from SUSE when available that address the permission handling issue
  • Restrict local user access to systems during Tomcat package installation or update operations
  • Perform package installations in single-user mode when possible to eliminate race condition opportunities
  • Review and audit existing Tomcat installations for signs of compromise

Patch Information

Consult the SUSE Bugzilla entry for CVE-2024-22029 for the latest patching information and updated package versions. SUSE will provide corrected packages that implement proper atomic permission handling during installation to eliminate the race condition window.

Workarounds

  • Minimize the number of local user accounts on Tomcat servers to reduce the attack surface
  • Perform Tomcat package installations during maintenance windows with restricted system access
  • Implement mandatory access control (MAC) policies using AppArmor or SELinux to constrain file system operations during package installation
  • Consider using containerized Tomcat deployments where package installation race conditions are isolated from the host system
bash
# Restrict local access during package installation
# Run in single-user mode for package updates
sudo systemctl isolate rescue.target

# After package installation, verify permissions
sudo find /var/lib/tomcat -type f -perm /o+w -ls
sudo find /etc/tomcat -type l -ls

# Return to normal operation
sudo systemctl isolate multi-user.target

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 Tomcat

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-732
  • Technical References
  • SUSE Bugzilla CVE-2024-22029
  • Related CVEs
  • CVE-2024-52318: Apache Tomcat Privilege Escalation Flaw

  • CVE-2022-23181: Apache Tomcat Privilege Escalation Flaw

  • CVE-2020-8022: Apache Tomcat Privilege Escalation Flaw

  • CVE-2026-34500: Apache Tomcat Auth Bypass 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