Remote file read via Alias path traversal
Published Oct 7, 2021 · Updated Oct 21, 2025
Path traversal in Apache HTTP Server 2.4.49 and 2.4.50 allows remote attackers to read files outside Alias-like directories via crafted URLs. The URL path normalizer permits encoded traversal sequences to escape an Alias-mapped directory, bypassing intended pathname restrictions. Access succeeds only when those outside directories lack the default require all denied protection; with CGI enabled for the aliased paths, the same condition allows remote code execution.
Summary
What happened
Path traversal in Apache HTTP Server 2.4.49 and 2.4.50 allows remote attackers to read files outside Alias-like directories via crafted URLs. The URL path normalizer permits encoded traversal sequences to escape an Alias-mapped directory, bypassing intended pathname restrictions. Access succeeds only when those outside directories lack the default require all denied protection; with CGI enabled for the aliased paths, the same condition allows remote code execution.
The record
- CVE
- CVE-2021-42013
- Published
- Oct 7, 2021
- Updated
- Oct 21, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache HTTP Server
- Classifications
- CWE-22, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 7, 2021CVE publishedPublication date reported by the CVE source.
- Nov 3, 2021Exploitation reportedCISA Known Exploited Vulnerability catalog listing
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Apache HTTP Server 2.4.49
- Affected versionversion=Apache HTTP Server 2.4.50
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 10, 2026 | Unavailable |
| Sep 11, 2026 | Unavailable |
| Sep 12, 2026 | Unavailable |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | 180 |
| Sep 15, 2026 | 181 |
| Sep 16, 2026 | 169 |
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerability catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo