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

CVE-2021-34798: Apache HTTP Server Use-After-Free Flaw

CVE-2021-34798 is a use-after-free vulnerability in Apache HTTP Server that causes NULL pointer dereference through malformed requests. This article covers technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-34798 Overview

CVE-2021-34798 is a NULL pointer dereference vulnerability in Apache HTTP Server versions 2.4.48 and earlier. This vulnerability allows remote attackers to cause a denial of service condition by sending specially crafted malformed HTTP requests to the server. When the server attempts to process these malicious requests, it dereferences a NULL pointer, resulting in a crash and service disruption.

Critical Impact

Unauthenticated remote attackers can crash Apache HTTP Server instances with malformed requests, causing service outages for web applications and services hosted on affected servers.

Affected Products

  • Apache HTTP Server 2.4.48 and earlier versions
  • Fedora 34 and 35
  • Debian Linux 9.0, 10.0, and 11.0
  • NetApp Cloud Backup, Clustered Data ONTAP, and StorageGRID
  • Tenable.sc
  • Oracle HTTP Server 12.2.1.3.0 and 12.2.1.4.0
  • Oracle Enterprise Manager Base Platform 13.4.0.0 and 13.5.0.0
  • Oracle PeopleSoft Enterprise PeopleTools 8.58
  • Oracle Instantis EnterpriseTrack 17.1, 17.2, and 17.3
  • Oracle ZFS Storage Appliance Kit 8.8
  • Broadcom Brocade Fabric Operating System Firmware
  • Siemens RUGGEDCOM NMS, SINEC NMS, SINEMA Remote Connect Server, and SINEMA Server 14.0

Discovery Timeline

  • September 16, 2021 - CVE-2021-34798 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-34798

Vulnerability Analysis

This vulnerability stems from inadequate input validation when Apache HTTP Server processes incoming HTTP requests. When the server receives a malformed request with specific characteristics, the request parsing logic fails to properly handle certain edge cases, leading to a NULL pointer being dereferenced during processing.

The attack can be executed remotely over the network without requiring any authentication or user interaction. While the vulnerability does not allow attackers to access or modify data on the server, it can reliably crash the httpd process, causing a denial of service condition. Organizations running Apache HTTP Server in production environments face potential service disruptions that could affect all hosted websites and applications.

Root Cause

The root cause is classified as CWE-476 (NULL Pointer Dereference). The vulnerability exists because the Apache HTTP Server request handling code does not adequately validate certain request parameters before attempting to access memory through pointers. When a malformed request triggers a code path where an expected pointer value is NULL, the server attempts to dereference this NULL pointer, causing the process to crash.

Attack Vector

The attack vector is network-based, requiring no privileges or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests to a vulnerable Apache HTTP Server. The malformed requests are designed to trigger the NULL pointer dereference condition during request processing.

The attack can be performed remotely from any network location that can reach the target server on its HTTP/HTTPS ports. Since the vulnerability affects the core request handling functionality, any publicly accessible Apache server running a vulnerable version is potentially at risk. The low complexity of exploitation combined with no authentication requirements makes this vulnerability particularly concerning for internet-facing servers.

Detection Methods for CVE-2021-34798

Indicators of Compromise

  • Unexpected Apache httpd process crashes or restarts in system logs
  • Segmentation fault entries in Apache error logs referencing NULL pointer access
  • Increased frequency of server restarts without corresponding configuration changes
  • Unusual patterns of malformed HTTP requests in access logs

Detection Strategies

  • Monitor Apache error logs for segmentation fault messages and NULL pointer dereference errors
  • Implement Web Application Firewall (WAF) rules to detect and block malformed HTTP requests
  • Use intrusion detection systems (IDS) to identify anomalous request patterns targeting Apache servers
  • Deploy SentinelOne Singularity to detect exploitation attempts and process crashes

Monitoring Recommendations

  • Configure alerting on Apache service availability and automatic restart events
  • Enable verbose logging on Apache HTTP Server to capture detailed request information
  • Monitor system-level crash reports and core dump generation for httpd processes
  • Track Apache process stability metrics including uptime and restart frequency

How to Mitigate CVE-2021-34798

Immediate Actions Required

  • Upgrade Apache HTTP Server to version 2.4.49 or later to address this vulnerability
  • Apply vendor-specific patches for affected Oracle, NetApp, Siemens, and other bundled products
  • Implement rate limiting and request validation at the network edge to reduce attack surface
  • Enable Web Application Firewall (WAF) protection with rules targeting malformed HTTP requests

Patch Information

Apache Software Foundation has released Apache HTTP Server version 2.4.49, which addresses this vulnerability along with several other security issues. Organizations should consult the Apache HTTP Server Vulnerabilities page for official patch information. Additionally, multiple vendors have released advisories and patches for their products that bundle Apache HTTP Server:

  • Oracle Security Alerts January 2022
  • Oracle Security Alerts April 2022
  • Siemens Product Security Advisory
  • Debian Security Advisory DSA-4982
  • NetApp Security Advisory NTAP-20211008-0004

Workarounds

  • Deploy a reverse proxy or load balancer in front of Apache servers to filter malformed requests
  • Implement network-level access controls to restrict access to Apache servers from untrusted sources
  • Configure mod_reqtimeout to limit request processing time and reduce impact of malicious requests
  • Use connection limiting directives to throttle incoming requests from individual IP addresses
bash
# Configuration example - Add to Apache configuration for additional protection
# Enable mod_reqtimeout to limit request handling time
<IfModule mod_reqtimeout.c>
    RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
</IfModule>

# Limit connections per IP using mod_limitipconn (if available)
<IfModule mod_limitipconn.c>
    MaxConnPerIP 10
</IfModule>

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechApache Http Server

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability9.88%

  • 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-476
  • Technical References
  • McAfee Security Bulletin SB10379

  • Apache Mailing List Discussion

  • Apache Mailing List Discussion

  • Apache Mailing List Discussion

  • Apache Mailing List Discussion

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202208-20

  • NetApp Security Advisory NTAP-20211008-0004

  • Cisco Security Advisory for Apache

  • Debian Security Advisory DSA-4982

  • Tenable Security Notification TNS-2021-17
  • Vendor Resources
  • Apache HTTP Server Vulnerabilities

  • Siemens Product Security Advisory

  • Oracle Security Alerts April 2022

  • Oracle Security Alerts January 2022
  • Related CVEs
  • CVE-2023-38709: Apache HTTP Server XSS Vulnerability

  • CVE-2024-38475: Apache HTTP Server Path Traversal Flaw

  • CVE-2024-38472: Apache HTTP Server SSRF Vulnerability

  • CVE-2021-36160: 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