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

CVE-2021-20325: Red Hat Enterprise Linux Regression Flaw

CVE-2021-20325 is a security regression in Red Hat Enterprise Linux 8.5.0 affecting httpd, reintroducing previously fixed vulnerabilities. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-20325 Overview

CVE-2021-20325 is a security regression vulnerability in the httpd package as shipped in Red Hat Enterprise Linux 8.5.0. This issue occurs because fixes for two previously addressed vulnerabilities (CVE-2021-40438 and CVE-2021-26691) were inadvertently missing from the RHEL 8.5.0 release. As a result, users who installed or upgraded to Red Hat Enterprise Linux 8.5.0 became vulnerable to these previously patched security flaws, even though they were properly fixed in Red Hat Enterprise Linux 8.4. This is a Red Hat-specific regression and does not affect upstream Apache httpd versions.

Critical Impact

This security regression re-exposes systems to Server-Side Request Forgery (SSRF) and heap buffer overflow vulnerabilities in Apache httpd that were previously patched, potentially allowing remote attackers to compromise affected Red Hat Enterprise Linux 8.5.0 systems.

Affected Products

  • Red Hat Enterprise Linux 8.5.0
  • httpd package as shipped in RHEL 8.5.0

Discovery Timeline

  • 2022-02-18 - CVE-2021-20325 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-20325

Vulnerability Analysis

This vulnerability represents a security regression where critical patches for two separate vulnerabilities were omitted during the release process for Red Hat Enterprise Linux 8.5.0. The missing fixes correspond to CVE-2021-40438, a Server-Side Request Forgery (SSRF) vulnerability in mod_proxy, and CVE-2021-26691, a heap buffer overflow vulnerability in Apache httpd's mod_session component.

The regression occurs because the httpd package in RHEL 8.5.0 lacks the backported security fixes that were present in RHEL 8.4. This creates a situation where users who upgrade from RHEL 8.4 to 8.5.0 inadvertently downgrade their security posture. The CWE classifications (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer and CWE-787: Out-of-bounds Write) reflect the underlying memory corruption issues from the re-exposed CVE-2021-26691 vulnerability.

Root Cause

The root cause is a packaging and release process failure within Red Hat's software distribution pipeline. During the preparation of RHEL 8.5.0, the security patches for CVE-2021-40438 and CVE-2021-26691 that were successfully applied to RHEL 8.4 were not carried forward to the 8.5.0 release. This resulted in the httpd package in RHEL 8.5.0 containing older, vulnerable code despite fixes being available and previously deployed.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit the re-exposed vulnerabilities remotely:

  1. CVE-2021-40438 (SSRF): Attackers can craft malicious requests to mod_proxy that cause the Apache server to make unintended requests to internal or external resources, potentially leading to information disclosure or access to internal services.

  2. CVE-2021-26691 (Heap Overflow): Attackers can exploit the heap buffer overflow in mod_session to potentially achieve remote code execution or cause denial of service conditions.

The vulnerability mechanism involves memory corruption through improper boundary checks in the affected httpd modules. When processing specially crafted requests, the server may write data beyond allocated buffer boundaries, leading to potential code execution. For detailed technical analysis, refer to the Red Hat Bug Report #2017321.

Detection Methods for CVE-2021-20325

Indicators of Compromise

  • Unexpected outbound connections from Apache httpd servers to internal or external hosts
  • Unusual mod_proxy activity patterns in Apache access logs
  • Evidence of memory corruption or Apache service crashes
  • Anomalous session handling behavior in mod_session logs

Detection Strategies

  • Verify the installed httpd package version against Red Hat's security advisory to confirm if vulnerable versions are present
  • Monitor Apache httpd logs for requests containing unusual proxy targets or malformed session data
  • Implement network monitoring to detect SSRF-style traffic patterns originating from web servers
  • Use vulnerability scanners to identify RHEL 8.5.0 systems with unpatched httpd packages

Monitoring Recommendations

  • Enable enhanced logging for mod_proxy and mod_session modules
  • Configure intrusion detection systems to alert on known exploit patterns for CVE-2021-40438 and CVE-2021-26691
  • Implement file integrity monitoring on httpd binaries and configuration files
  • Monitor system resource usage for signs of memory exhaustion or corruption

How to Mitigate CVE-2021-20325

Immediate Actions Required

  • Update the httpd package to the latest patched version provided by Red Hat
  • Review and apply all available security updates for Red Hat Enterprise Linux 8
  • Audit systems running RHEL 8.5.0 to identify vulnerable httpd installations
  • Consider temporarily disabling mod_proxy and mod_session if not required until patches are applied

Patch Information

Red Hat has acknowledged this security regression and released updated httpd packages to address CVE-2021-20325. Administrators should consult the Red Hat Bug Report #2017321 for detailed patch information and apply the latest available updates using the standard yum update httpd or dnf update httpd commands. The updated packages restore the security fixes that were missing in the initial RHEL 8.5.0 release.

Workarounds

  • Disable mod_proxy if forward proxy functionality is not required by removing or commenting out the proxy-related configuration
  • Disable mod_session if session functionality is not needed to eliminate exposure to CVE-2021-26691
  • Implement network segmentation to limit the impact of potential SSRF attacks
  • Deploy a web application firewall (WAF) with rules to detect and block known exploit patterns
bash
# Configuration example
# Temporarily disable mod_proxy and mod_session in httpd configuration
# Edit /etc/httpd/conf.modules.d/00-proxy.conf
# Comment out the following lines:
# LoadModule proxy_module modules/mod_proxy.so
# LoadModule proxy_http_module modules/mod_proxy_http.so

# Edit /etc/httpd/conf.modules.d/01-session.conf
# Comment out:
# LoadModule session_module modules/mod_session.so

# Restart httpd to apply changes
systemctl restart httpd

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechRedhat Enterprise Linux

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.69%

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

  • CWE-787
  • Vendor Resources
  • Red Hat Bug Report #2017321
  • Related CVEs
  • CVE-2023-50387: Red Hat Enterprise Linux DNS DoS Attack

  • CVE-2023-6377: Redhat Enterprise Linux XKB Escalation Flaw

  • CVE-2023-6121: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2022-40982: Red Hat Enterprise Linux Info Disclosure
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