# CVE-2021-42013: Apache HTTP Server Path Traversal Vulnerability

- Priority: **Act now**
- Reason: Known ransomware use (CISA, 03-11-2021)
- Next step: Check the vendor advisory
- Status: published
- Published: 2021-10-07 · Modified: 2025-10-21
- Aliases: ALPINE-CVE-2021-42013, MGASA-2021-0470, DEBIAN-CVE-2021-42013
- Record: https://cvemate.com/vulnerability/CVE-2021-42013 · JSON: https://cvemate.com/vulnerability/CVE-2021-42013/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 99.964%, percentile 99.975%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2021-11-03, ENISA listed 2026-11-23, CIRCL not listed
- Ransomware use: known
- Public exploits: 11 (reference, exploit-database, metasploit)

## Affected

- apache software foundation apache http server: Apache HTTP Server 2.4.49 \| Apache HTTP Server 2.4.50
- apache http\_server: 2.4.49 \| 2.4.50
- alpine apache2 (Alpine Linux): \< 2.4.51-r0
- debian apache2 (Debian): \< 2.4.51-1
- fedoraproject fedora: 34 \| 35
- mageia apache (Mageia): \< 2.4.51-1.mga8
- netapp cloud\_backup: na
- oracle instantis\_enterprisetrack: 17.1 \| 17.2 \| 17.3
- oracle jd\_edwards\_enterpriseone\_tools: \< 9.2.6.0
- oracle secure\_backup: \< 18.1.0.1.0

## References (first 20 of 37)

- <https://httpd.apache.org/security/vulnerabilities_24.html>
- <https://lists.apache.org/thread.html/r7c795cd45a3384d4d27e57618a215b0ed19cb6ca8eb070061ad5d837%40%3Cannounce.apache.org%3E>
- <https://lists.apache.org/thread.html/rb5b0e46f179f60b0c70204656bc52fcb558e961cb4d06a971e9e3efb%40%3Cusers.httpd.apache.org%3E>
- <http://www.openwall.com/lists/oss-security/2021/10/07/6>
- <https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-pathtrv-LAzg68cZ>
- <http://jvn.jp/en/jp/JVN51106450/index.html>
- <http://www.openwall.com/lists/oss-security/2021/10/08/1>
- <https://lists.apache.org/thread.html/r17a4c6ce9aff662efd9459e9d1850ab4a611cb23392fc68264c72cb3%40%3Ccvs.httpd.apache.org%3E>
- <http://www.openwall.com/lists/oss-security/2021/10/08/2>
- <http://www.openwall.com/lists/oss-security/2021/10/08/3>
- <http://www.openwall.com/lists/oss-security/2021/10/08/4>
- <http://www.openwall.com/lists/oss-security/2021/10/08/6>
- <http://www.openwall.com/lists/oss-security/2021/10/08/5>
- <http://www.openwall.com/lists/oss-security/2021/10/09/1>
- <http://www.openwall.com/lists/oss-security/2021/10/11/4>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMIIEFINL6FUIOPD2A3M5XC6DH45Y3CC/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WS5RVHOIIRECG65ZBTZY7IEJVWQSQPG3/>
- <http://www.openwall.com/lists/oss-security/2021/10/15/3>
- <http://www.openwall.com/lists/oss-security/2021/10/16/1>
- <https://www.oracle.com/security-alerts/cpujan2022.html>

---

Data as of 2026-12-05T04:22:28.033Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
