CVE-2021-41773Apache HTTP Server
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49
Critical 9.8 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · Apache · Apache HTTP Server We alert you by email or Slack (account required).
- Priority
- 99
- CVSS 3.1
- 9.8
- EPSS
- 100.0% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- Nov 17, 2021
- Ransomware use
- Confirmed
- Published
- Oct 5, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache HTTP Server 2.4.49 contains a path normalization flaw that allows unauthenticated attackers to access files outside directories configured by Alias directives. If these files lack default protection or CGI is enabled, remote code execution is possible. CISA confirmed active exploitation in the wild.
Show the original NVD text
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.
Exploitation confirmed by CISA
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. The original patch issued under this CVE ID is insufficient, please review remediation information under CVE-2021-42013.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 2.4.50
Update Apache HTTP Server to version 2.4.50 or later. Note: version 2.4.50 contains an incomplete patch; review CVE-2021-42013 for additional information.
- Apply the vendor's security update for HTTP Server.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was November 17, 2021.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | http_server | 2.4.49 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| oracle | instantis_enterprisetrack | 17.1 |
| oracle | instantis_enterprisetrack | 17.2 |
| oracle | instantis_enterprisetrack | 17.3 |
| netapp | cloud_backup | all |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- httpd.apache.org Release Notes Vendor Advisory
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.fedoraproject.org Release Notes
- lists.fedoraproject.org Release Notes
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- tools.cisco.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.cisa.gov US Government Resource