Critical (9.8) in Apache HTTP Server. In CISA KEV since 2021-11-03, with known ransomware use. EPSS >99.9% estimated probability of exploitation activity in the next 30 days.
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.
Severity
CVSS 3.1
9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
>99.9%(unchanged from >99.9% a week ago; >99.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2021-11-03, due 2021-11-17, known ransomware use
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-02-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
Show the promptExplain CVE-2021-41773 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41773?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41773?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41773 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE · Alpine.
Red Hat
Red Hat rates this Important.
Red Hat's statement
This issue only affects httpd 2.4.49, earlier versions are not affected. Therefore this issue does not affect the versions of httpd shipped with Red Hat products.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
klmntbelgium/cve-2021-41773-explorationHarbor Check: matches CVE1 star, Shell, created Recreation and analysis of a curious logic error in Apache 2.4.49 that escalated to remote code execution
s-amnajafri/CVE-2021-41773-Apache-LabHarbor Check: matches CVE0 stars, Python, created Docker-based lab for reproducing CVE-2021-41773 (Apache HTTP Server 2.4.49) through controlled path traversal and file disclosure using a c…
0xrogg/CVE-2021-41773Harbor Check: matches CVE0 stars, Python, created The GREENDARK hospital infrastructure was configured by Dr. Gusto Rogue prior to his termination. No further details are provided.
Areeba-Zehra-Jafri/CVE-2021-41773---Apache-Path-Traversal---RCEHarbor Check: matches CVE0 stars, Python, created Proof-of-concept (PoC) for CVE-2021-41773, demonstrating Apache HTTP Server 2.4.49 path traversal and remote code execution (RCE) in a cont…
zubairahm3d/apache-cve-2021-41773-labHarbor Check: matches CVE0 stars, Shell, created Vulnerable Docker lab and exploit for Apache HTTP Server 2.4.49 path traversal vulnerability (CVE‑2021‑41773)
sudo0xksh/cve-2021-41773-checkerHarbor Check: matches CVE0 stars, Python, created A simple Python proof-of-concept tool to check for Apache path traversal vulnerability (CVE-2021-41773). Detects vulnerable server version…
tr3m0x/CVE-2021-417730 stars, Dockerfile, created PoC and analysis of CVE-2021-41773
KunalKhandelwal-dev/cve-2021-41773-source-code-analysis0 stars, Python, created A Python-based static patch analysis tool for studying the root cause and remediation of CVE-2021-41773 (Apache HTTP Server Path Traversal)…
fxdyx-a/CVE-2021-41773-POC0 stars, created Apache HTTP Server 2.4.49 Path Traversal Vulnerability Reproduction
ChanaPCN/CVE-2021-41773-Analysis0 stars, created Technical analysis and reproduction lab for the Apache HTTP Server 2.4.49 Path Traversal and RCE vulnerability.
Detection rules
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.