CVE-2021-42013: Apache HTTP Server Path Traversal Vulnerability
Vulnerability summary
CVE-2021-42013 is a critical (CVSS 9.8) Path Traversal vulnerability in Apache HTTP Server. It is known to be exploited: CISA lists it, first on 03-11-2021. It has been used in ransomware campaigns. EPSS estimates a 99.96% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 11 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 07-10-2021PublishedVulnerability first disclosed.
- 03-11-2021Added to CISA KEVApache HTTP Server Path Traversal Vulnerability
- 17-11-2021CISA remediation dueApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
Description
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 metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
99.96%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 99.96% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 03-11-2021
- Federal due date
- 17-11-2021
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-42013
Public exploits
11 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Show all 11 exploits
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (povilaika.com)
Maturity: unknown
Apache HTTP Server 2.4.50 - Path Traversal & Remote Code Execution (RCE)
Maturity: poc
Apache HTTP Server 2.4.50 - Remote Code Execution (RCE) (2)
Maturity: poc
Apache HTTP Server 2.4.50 - Remote Code Execution (RCE) (3)
Maturity: poc
Apache 2.4.49/2.4.50 Traversal RCE scanner
auxiliary/scanner/http/apache_normalize_path
Maturity: poc
Apache 2.4.49/2.4.50 Traversal RCE
exploit/multi/http/apache_normalize_path_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Oracle3 products
- instantis_enterprisetrack17.1 | 17.2 | 17.3
- jd_edwards_enterpriseone_tools< 9.2.6.0
- secure_backup< 18.1.0.1.0
Alpine1 product
- apache2< 2.4.51-r0
Apache1 product
- http_server2.4.49 | 2.4.50
Apache software foundation1 product
- apache http serverApache HTTP Server 2.4.49 | Apache HTTP Server 2.4.50
Debian1 product
- apache2< 2.4.51-1
Fedoraproject1 product
- fedoraEOL34 | 35
Mageia1 product
- apache< 2.4.51-1.mga8
Netapp1 product
8 vendors · 10 products
References
37 links- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-pathtrv-LAzg68cZVendor AdvisoryX Refsource CISCOThird Party Advisory
Show all 37 references
- packetstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/165089/Apache-HTTP-Server-2.4.50-CVE-2021-42013-Exploitation.htmlX Refsource MISCThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/167397/Apache-2.4.50-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-42013Government ResourceUS Government Resource