CVE-2021-42013

Apache HTTP Server Path Traversal Vulnerability

Actively exploited · CISA KEV Ransomware use: known
9.8 CriticalCVSS v3.1
100.0%EPSS (30-day exploit probability)
2021-11-03added to KEV
2021-11-17CISA federal due date

Summary

Apache HTTP Server. Apache HTTP Server contains a path traversal vulnerability that allows an attacker to perform remote code execution if files outside directories configured by Alias-like directives are not under default require all denied or if CGI scripts are enabled. This CVE ID resolves an incomplete patch for CVE-2021-41773.

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Published
2021-10-07 (last modified 2026-06-17)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Apache HTTP Server in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2021-42013 being exploited?

Yes. CISA added CVE-2021-42013 to its Known Exploited Vulnerabilities catalog on 2021-11-03, which means there is reliable evidence of active exploitation. It is also known to be used in ransomware campaigns.

How do I fix CVE-2021-42013?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2021-42013?

The EPSS score is 99.96%, meaning an estimated 99.96% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Apache vulnerabilities

CVE-2026-129448Apache Roller Deserialization of Untrusted Data Vulnerability2026-11-20
CVE-2026-90436Apache Axis Unsafe Reflection Vulnerability2026-11-18
CVE-2016-3081Apache Struts Command Injection Vulnerability2026-10-08
CVE-2026-34486Apache Tomcat Missing Encryption of Sensitive Data Vulnerability2026-08-04
CVE-2026-34197Apache ActiveMQ Improper Input Validation Vulnerability2026-04-16
CVE-2024-38475Apache HTTP Server Improper Escaping of Output Vulnerability2025-05-01
CVE-2025-24813Apache Tomcat Path Equivalence Vulnerability2025-04-01
CVE-2024-45195Apache OFBiz Forced Browsing Vulnerability2025-02-04

All Apache exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.