Skip to content

CVE-2021-42013

Apache HTTP Server Path Traversal Vulnerability

  • Actively exploited
  • Used by ransomware
  • Critical · 9.8 of 10
Exploited since
3 Nov 2021
added to the CISA list
Chance of attacks
over 99.9%
in the next 30 days (FIRST EPSS)
Fix deadline
17 Nov 2021
for US federal agencies
Published
7 Oct 2021
in the NVD

What this means

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.

CISA

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.

NIST National Vulnerability Database

What to do

Apply updates per vendor instructions.

CISA's required action. If you use the product, install the vendor's update as soon as possible.

Affected

  • Apache Software Foundation Apache HTTP Server

Official sources

Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

May we count your visit with Google Analytics? It sets cookies only if you accept. Privacy Policy