As of , CVE-2021-42013 in Apache HTTP Server is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2021-42013
Apache HTTP Server: Path Traversal. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Ransomware use
- Metasploit module
- EPSS 0.99
- Verified Exploit-DB entry
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects Apache HTTP Server. The record gives its versions in a form this page does not read.
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 3 November 2021
- US federal deadline
- 17 November 2021 14 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Known
- EPSS when listed
- Not available CISA listed it before 4 February 2022, where the EPSS files we read begin.
- Public exploit
- 2 Metasploit modules and 3 Exploit-DB entries (2 verified)
Since listing
EPSS since listing
EPSS for CVE-2021-42013 since our EPSS history begins, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.82 | |
| 0.80 | |
| 0.82 | |
| 0.98 | |
| 0.97 | |
| 0.94 | |
| 0.99 |
Timeline
What happened when
- The CVE record was published.
- Exploit-DB published an exploit (EDB-ID 50406).
- Exploit-DB published an exploit (EDB-ID 50446).
- CISA added it to its list of exploited vulnerabilities.
- Exploit-DB published an exploit (EDB-ID 50512).
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
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's 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.
The CVE record's description, from apache
- CVE published
- 7 October 2021
- Assigned by
- apache
- CVSS
- 9.8 Critical (CVSS 3.1, from CISA-ADP)
- CWE-22
- Improper Limitation of a Pathname to a Restricted Directory
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Same product
HTTP Server: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2021-41773Path Traversal | HTTP Server | Patch this weekRansomwareMetasploitExploit-DB | Due | 0.99 | |
| CVE-2024-38475Improper Escaping of Output | HTTP Server | Patch this week | Due | 0.99 | |
| CVE-2019-0211Privilege Escalation | HTTP Server | Patch this week | Due | 0.65 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)