CVE-2021-42013
Apache HTTP Server Path Traversal Vulnerability
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-10-07
- Last modified
- 2026-06-17
- Assigned by
- security@apache.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
100.0 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-11-03, with a remediation deadline of 2021-11-17 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Http Server | 2.4.49 | Affected |
| Apache | Http Server | 2.4.50 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Netapp | Cloud Backup | all versions listed | Affected |
| Oracle | Instantis Enterprisetrack | 17.1 | Affected |
| Oracle | Instantis Enterprisetrack | 17.2 | Affected |
| Oracle | Instantis Enterprisetrack | 17.3 | Affected |
| Oracle | Jd Edwards Enterpriseone Tools | < 9.2.6.0 | Affected |
| Oracle | Secure Backup | < 18.1.0.1.0 | Affected |
Weakness type
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
References
- http://jvn.jp/en/jp/JVN51106450/index.html
- http://packetstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code…
- http://packetstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Executi…
- http://packetstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Ex…
- http://packetstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Executi…
- http://packetstormsecurity.com/files/165089/Apache-HTTP-Server-2.4.50-CVE-2021-42013-Expl…
- http://packetstormsecurity.com/files/167397/Apache-2.4.50-Remote-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2021/10/07/6
- http://www.openwall.com/lists/oss-security/2021/10/08/1
- 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/5
- http://www.openwall.com/lists/oss-security/2021/10/08/6
- http://www.openwall.com/lists/oss-security/2021/10/09/1
- http://www.openwall.com/lists/oss-security/2021/10/11/4
- http://www.openwall.com/lists/oss-security/2021/10/15/3
- http://www.openwall.com/lists/oss-security/2021/10/16/1
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://lists.apache.org/thread.html/r17a4c6ce9aff662efd9459e9d1850ab4a611cb23392fc68264c…
Related at Berigo
Articles
-
Attackers are exploiting the plug-in in front of Oracle WebLogic
Same product
2026-08-25
CISA added CVE-2026-21962 to its Known Exploited Vulnerabilities Catalog on 24 August, citing evidence of active exploitation. The flaw sits in Oracl…
-
Phishing campaign targets Signal backup recovery keys
Same product
2026-05-29
Malwarebytes reports messages posing as Signal support that ask users to paste their backup recovery key into the chat.
-
Apache fixes serious HTTP/2 vulnerability in its web server
Same product
2026-05-04
CVE-2026-23918 in Apache HTTP Server 2.4.66 can cause denial of service and, under conditions, code execution. Version 2.4.67 fixes it.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.