Home / Apache Software Foundation / Apache HTTP Server / CVE-2021-42013
CVE-2021-42013: is it exploited, and which versions of Apache Software Foundation Apache HTTP Server are affected and fixed?
CVE-2021-42013 is a path traversal (reading or writing files outside the intended folder) vulnerability in Apache Software Foundation Apache HTTP Server, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of November 17, 2021. Affected: Apache HTTP Server Apache HTTP Server 2.4.49 and Apache HTTP Server Apache HTTP Server 2.4.50 (CVE record by apache). Fixed in 9.2.6.0 and 18.1.0.1.0 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.
What is CVE-2021-42013?
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of 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.
From the CVE record by apache, last updated October 21, 2025, 23:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache HTTP Server | Apache HTTP Server 2.4.49 Apache HTTP Server 2.4.50 |
As the CVE record by apache states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | http server | 2.4.49 | application |
| apache | http server | 2.4.50 | application |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
| oracle | instantis enterprisetrack | 17.1 | application |
| oracle | instantis enterprisetrack | 17.2 | application |
| oracle | instantis enterprisetrack | 17.3 | application |
| oracle | jd edwards enterpriseone tools | before 9.2.6.0 | application |
| oracle | secure backup | before 18.1.0.1.0 | application |
| netapp | cloud backup | all versions | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:09 UTC.
How severe is CVE-2021-42013?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-42013 exploited in the wild?
- CISA KEV
- Listed as Apache HTTP Server Path Traversal Vulnerability, added November 3, 2021; federal agencies must act by November 17, 2021
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Known
- CISA's summary
- 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 SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 4, 2025)
- EPSS
- 100.0% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://httpd.apache.org/security/vulnerabilities_24.html x_refsource_MISC
- [announce] 20211007 CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [httpd-users] 20211007 [users@httpd] CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-202 mailing-list, x_refsource_MLIST
- [oss-security] 20211007 CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- 20211007 Apache HTTP Server Vulnerabilties: October 2021 vendor-advisory, x_refsource_CISCO
- JVN#51106450 third-party-advisory, x_refsource_JVN
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [httpd-cvs] 20211008 [httpd-site] branch main updated: * Align with CVE-2021-42013 based on the latest findings mailing-list, x_refsource_MLIST
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [oss-security] 20211008 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [oss-security] 20211009 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [oss-security] 20211011 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- FEDORA-2021-2a10bc68a4 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-aaf90ef84a vendor-advisory, x_refsource_FEDORA
- [oss-security] 20211015 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- [oss-security] 20211016 Re: CVE-2021-42013: Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20211029-0009/ x_refsource_CONFIRM
- http://packetstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/165089/Apache-HTTP-Server-2.4.50-CVE-2021-42013-Exploitation.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- http://packetstormsecurity.com/files/167397/Apache-2.4.50-Remote-Code-Execution.html x_refsource_MISC
- https://www.povilaika.com/apache-2-4-50-exploit/ x_refsource_MISC
- GLSA-202208-20 vendor-advisory, x_refsource_GENTOO
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-42013 government-resource
Who found and reported it?
- Reported by Juan Escobar from Dreamlab Technologies, Fernando Muñoz from NULL Life CTF Team, and Shungo Kumasaka (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 6, 2021
- Published
- October 7, 2021, 15:50 UTC
- CVE record updated
- October 21, 2025, 23:25 UTC by apache
- NVD
- Analyzed, last modified June 17, 2026, 04:09 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Apache HTTP Server?
- Jul 1, 2024CVE-2024-38475 Apache Software Foundation Apache HTTP Server: improper output encoding exploited
- Oct 5, 2021CVE-2021-41773 Apache Software Foundation Apache HTTP Server: path traversal (reading or writing files outside the intended folder) exploited
- Sep 16, 2021CVE-2021-40438 Apache Software Foundation Apache HTTP Server: server-side request forgery (SSRF) exploited
- Nov 11, 2026CVE-2026-106023 Apache Software Foundation Apache HTTP Server: NULL pointer dereference (crash)
- Nov 11, 2026CVE-2026-109163 Apache Software Foundation Apache HTTP Server: stack buffer overflow
- Nov 11, 2026CVE-2026-119618 Apache Software Foundation Apache HTTP Server: race condition
- Oct 1, 2026CVE-2026-63686 Apache Software Foundation Apache HTTP Server: NULL pointer dereference (crash)
- Oct 1, 2026CVE-2026-93546 Apache Software Foundation Apache HTTP Server: integer overflow
Every CVE in Apache HTTP Server
Questions about CVE-2021-42013
Is CVE-2021-42013 exploited in the wild?
Yes. CISA added CVE-2021-42013 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of November 17, 2021. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 100.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache HTTP Server are affected by CVE-2021-42013?
Apache HTTP Server Apache HTTP Server 2.4.49 and Apache HTTP Server Apache HTTP Server 2.4.50, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2021-42013?
9.2.6.0 and 18.1.0.1.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-42013?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-42013?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.