CVE-2021-41773
published high CVSS 3.1 · 7.5Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache HTTP ServerApache HTTP Server 2.4 2.4.49 | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1716 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2aarch64 | Advisory build | 2.4.51-1.1 | OPENSUSE-SU-2024:11560-1 |
| Amazon Linux | AL2 | httpdaarch64 | Listed in advisory | Not stated | ALAS2-2021-1716 |
| Alpine Linux | v3.11 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.12 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.13 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.15 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.16 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.17 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.18 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.19 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.20 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.21 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.22 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.23 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| Alpine Linux | v3.24 | apache2 | Fixed | 2.4.50-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2ppc64le | Advisory build | 2.4.51-1.1 | OPENSUSE-SU-2024:11560-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2s390x | Advisory build | 2.4.51-1.1 | OPENSUSE-SU-2024:11560-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2x86_64 | Advisory build | 2.4.51-1.1 | OPENSUSE-SU-2024:11560-1 |
| Amazon Linux | AL2 | httpdi686 | Listed in advisory | Not stated | ALAS2-2021-1716 |
| Amazon Linux | AL2 | httpdnoarch | Listed in advisory | Not stated | ALAS2-2021-1716 |
| Amazon Linux | AL2 | httpdsrc | Listed in advisory | Not stated | ALAS2-2021-1716 |
| Amazon Linux | AL2 | httpdx86_64 | Listed in advisory | Not stated | ALAS2-2021-1716 |
Description
A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. 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 is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache HTTP Server | Apache HTTP Server 2.4 2.4.49 (affected) | apache · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
30- http://packetstormsecurity.com/files/164418/Apache-HTTP-Server-2.4.49-Path-Traversal-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/164418/Apache-HTTP-Server-2.4.49-Path-Traversal.html
- http://packetstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html
- [oss-security] 20211005 CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 http://www.openwall.com/lists/oss-security/2021/10/05/2
- [oss-security] 20211007 RE: CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 http://www.openwall.com/lists/oss-security/2021/10/07/1
- [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) http://www.openwall.com/lists/oss-security/2021/10/07/6
- [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) http://www.openwall.com/lists/oss-security/2021/10/08/1
- [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) http://www.openwall.com/lists/oss-security/2021/10/08/2
- [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) http://www.openwall.com/lists/oss-security/2021/10/08/3
- [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) http://www.openwall.com/lists/oss-security/2021/10/08/4
- [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) http://www.openwall.com/lists/oss-security/2021/10/08/5
- [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) http://www.openwall.com/lists/oss-security/2021/10/08/6
- [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) http://www.openwall.com/lists/oss-security/2021/10/09/1
- [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) http://www.openwall.com/lists/oss-security/2021/10/11/4
- [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) http://www.openwall.com/lists/oss-security/2021/10/15/3
- [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) http://www.openwall.com/lists/oss-security/2021/10/16/1
- https://httpd.apache.org/security/vulnerabilities_24.html
- [httpd-cvs] 20211008 [httpd-site] branch main updated: * Align with CVE-2021-42013 based on the latest findings https://lists.apache.org/thread.html/r17a4c6ce9aff662efd9459e9d1850ab4a611cb23392fc68264c72cb3%40%3Ccvs.httpd.apache.org%3E
- [httpd-users] 20211005 [users@httpd] CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 https://lists.apache.org/thread.html/r6abf5f2ba6f1aa8b1030f95367aaf17660c4e4c78cb2338aee18982f%40%3Cusers.httpd.apache.org%3E
- [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) https://lists.apache.org/thread.html/r7c795cd45a3384d4d27e57618a215b0ed19cb6ca8eb070061ad5d837%40%3Cannounce.apache.org%3E
- [announce] 20211005 CVE-2021-41773: Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 https://lists.apache.org/thread.html/r98d704ed4377ed889d40479db79ed1ee2f43b2ebdd79ce84b042df45%40%3Cannounce.apache.org%3E
- [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-2021-41773) https://lists.apache.org/thread.html/rb5b0e46f179f60b0c70204656bc52fcb558e961cb4d06a971e9e3efb%40%3Cusers.httpd.apache.org%3E
- FEDORA-2021-2a10bc68a4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMIIEFINL6FUIOPD2A3M5XC6DH45Y3CC/
- FEDORA-2021-aaf90ef84a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WS5RVHOIIRECG65ZBTZY7IEJVWQSQPG3/
- GLSA-202208-20 https://security.gentoo.org/glsa/202208-20
- https://security.netapp.com/advisory/ntap-20211029-0009/
- 20211007 Apache HTTP Server Vulnerabilties: October 2021 https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-pathtrv-LAzg68cZ
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41773
- https://www.oracle.com/security-alerts/cpujan2022.html
Provider assertions
3apache · cna
Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b538bc40c0bd5e834d0591b8c4bc18582c9b97cb5aa235ad329846eee9ba8085
- Ingested
- 23 Sep 2026, 07:56:14 UTC
- Source record
- Official CVE record