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-2022-29404

CVE-2022-29404: Apache HTTP Server DoS Vulnerability

CVE-2022-29404 is a denial of service vulnerability in Apache HTTP Server affecting version 2.4.53 and earlier. Attackers can exploit lua script requests to cause service disruption. This article covers technical details, affected versions, impact, and mitigation.

Published: February 17, 2026

CVE-2022-29404 Overview

CVE-2022-29404 is a Denial of Service vulnerability affecting Apache HTTP Server versions 2.4.53 and earlier. The flaw exists in the mod_lua module, where a malicious request to a Lua script that calls r:parsebody(0) may cause a denial of service due to no default limit on possible input size. This allows remote attackers to exhaust server resources by sending specially crafted requests with excessive input data.

Critical Impact

Remote attackers can exploit this vulnerability to cause service unavailability by exhausting server resources through unbounded input processing in Lua scripts, potentially taking down web servers handling critical applications.

Affected Products

  • Apache HTTP Server versions up to and including 2.4.53
  • Fedora Linux 35 and 36
  • NetApp Clustered Data ONTAP

Discovery Timeline

  • 2022-06-09 - CVE-2022-29404 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-29404

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue resides in the mod_lua module's r:parsebody() function, which is used to parse the body of HTTP requests within Lua scripts.

When a Lua script calls r:parsebody(0), the parameter 0 indicates that there should be no limit on the input size. However, the implementation fails to enforce any reasonable default maximum, allowing attackers to submit arbitrarily large request bodies. The server will attempt to process this unbounded input, consuming memory and CPU resources until the system becomes unresponsive.

The attack is network-accessible, requires no authentication, and can be executed with low complexity, making it particularly dangerous for publicly accessible Apache web servers that utilize Lua scripting functionality.

Root Cause

The root cause of CVE-2022-29404 is the absence of a default limit on input size when the r:parsebody() function is called with a zero parameter value. The mod_lua module does not implement proper input validation or resource throttling mechanisms to prevent excessive memory allocation during request body parsing. This design oversight allows resource exhaustion attacks when processing maliciously crafted requests.

Attack Vector

An attacker can exploit this vulnerability by sending HTTP requests with extremely large body content to a Lua script endpoint that calls r:parsebody(0). The attack flow involves:

  1. Identifying a target Apache server running mod_lua with a script that uses r:parsebody(0)
  2. Crafting HTTP POST requests with excessively large body content
  3. Sending multiple concurrent requests to amplify resource consumption
  4. The server attempts to parse the unbounded input, exhausting available memory
  5. Service becomes unavailable to legitimate users

The vulnerability is exploitable remotely over the network without requiring any authentication or user interaction, making it suitable for automated attacks.

Detection Methods for CVE-2022-29404

Indicators of Compromise

  • Unusual memory consumption spikes on Apache HTTP Server processes
  • Multiple large POST requests targeting Lua script endpoints in access logs
  • Server crashes or restarts due to memory exhaustion
  • Abnormally high network traffic to specific endpoints with large request bodies

Detection Strategies

  • Monitor Apache access logs for POST requests with unusually large Content-Length headers targeting .lua endpoints
  • Implement intrusion detection rules to alert on request bodies exceeding expected size thresholds
  • Configure application performance monitoring to detect abnormal memory allocation patterns
  • Review server configurations to identify Lua scripts using r:parsebody(0) without size limits

Monitoring Recommendations

  • Enable detailed logging for mod_lua module activities
  • Set up alerts for Apache process memory consumption exceeding normal thresholds
  • Monitor for repeated connection attempts from single IP addresses to Lua endpoints
  • Track server availability metrics to detect service degradation patterns

How to Mitigate CVE-2022-29404

Immediate Actions Required

  • Upgrade Apache HTTP Server to version 2.4.54 or later, which addresses this vulnerability
  • Review all Lua scripts for usage of r:parsebody() and implement explicit size limits
  • Consider temporarily disabling mod_lua if not essential for operations
  • Implement request body size limits at the web server or reverse proxy level

Patch Information

Apache has addressed this vulnerability in Apache HTTP Server version 2.4.54. The official security advisory is available on the Apache HTTP Server Vulnerabilities page. Additional vendor-specific patches are available:

  • Fedora Package Announcement for Fedora 35/36
  • NetApp Security Advisory ntap-20220624-0005 for Clustered Data ONTAP
  • Gentoo GLSA 202208-20 for Gentoo Linux

Workarounds

  • Modify Lua scripts to use r:parsebody() with an explicit, reasonable size limit instead of 0
  • Configure LimitRequestBody directive in Apache to restrict maximum request body size
  • Deploy a Web Application Firewall (WAF) to filter requests with excessively large bodies
  • Use a reverse proxy to implement request size validation before requests reach Apache
bash
# Configuration example - Add to Apache httpd.conf or virtual host configuration
# Limit request body size to 1MB (adjust based on application requirements)
LimitRequestBody 1048576

# For specific Lua script directories, apply stricter limits
<Directory "/var/www/html/lua-scripts">
    LimitRequestBody 102400
</Directory>

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechApache

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability2.32%

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

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202208-20

  • NetApp Security Advisory ntap-20220624-0005
  • Vendor Resources
  • Apache HTTP Server Vulnerabilities
  • Related CVEs
  • CVE-2022-28615: Apache HTTP Server DOS Vulnerability

  • CVE-2025-55753: Apache HTTP Server DoS Vulnerability

  • CVE-2024-36387: Apache HTTP Server DoS Vulnerability

  • CVE-2025-49630: Apache HTTP Server DOS Vulnerability
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