CVE-2021-41773

CRITICAL(9.8)KEVRansomwareLikely Exploited

Apache HTTP Server Path Traversal Vulnerability

Description

CVE-2021-41773 is a critical-severity path traversal vulnerability in Apache HTTP Server 2.4.49 caused by a flaw in path normalization. An attacker could use a path traversal attack to map URLs to files outside directories configured by Alias-like directives, and if CGI scripts are enabled, achieve remote code execution. This vulnerability was known to be exploited in the wild, and CISA has added it to its Known Exploited Vulnerabilities catalog. The original patch in Apache HTTP Server 2.4.50 was found to be incomplete, leading to the related vulnerability CVE-2021-42013. CVE-2021-41773 is also known to be used in ransomware campaigns, and with an EPSS score of 94.4% (99.97th percentile), exploitation is near certain.

KEV Information

Vendor
Apache
Product
HTTP Server
Date Added
November 3, 2021
Due Date
November 17, 2021
Required Action
Apply updates per vendor instructions.

CVSS Score

Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in Calculator
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9

CWEs

Affected Products

VendorProductVersion
apachehttp server2.4.49
fedoraprojectfedora34; 35
oracleinstantis enterprisetrack17.1; 17.2; 17.3
netappcloud backup-

Multiple CVSS Assessments

Source: [email protected](Primary)
9.8
CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0(Secondary)
7.5
HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Weakness Type

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

In Apache HTTP Server 2.4.49, the path traversal vulnerability exists due to a flaw in the change made to path normalization. The server fails to properly neutralize directory traversal sequences in URLs, allowing attackers to escape the intended directory structure and access or execute files outside the restricted web root and Alias-configured directories.

Learn more: CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Impact Analysis

CVE-2021-41773 carries a CVSS 3.1 score of 9.8 (CRITICAL), indicating the highest severity tier. The vulnerability is remotely exploitable over the network with low attack complexity, requiring no authentication and no user interaction. Successful exploitation can fully compromise data confidentiality by allowing access to sensitive files, enable unauthorized modification of data through file writes, and cause complete service disruption. The EPSS score of 94.4% indicates near-certain exploitation activity, and the confirmed use in ransomware campaigns makes this an emergency-level threat. Organizations running Apache HTTP Server 2.4.49 must upgrade immediately, noting that version 2.4.50 contained an incomplete fix — upgrading to 2.4.51 or later is required.

Exploit Maturity

CVE-2021-41773 has extensive exploit maturity with confirmed active exploitation in the wild. CISA has listed it in the Known Exploited Vulnerabilities catalog, and ransomware operators are known to leverage it. Public exploit code is available from multiple sources including Packet Storm Security and additional exploits covering both path traversal and remote code execution. The original patch in Apache 2.4.50 was incomplete, leading to CVE-2021-42013, meaning that organizations must upgrade to 2.4.51 or later for full protection. The EPSS score of 94.4% (99.97th percentile) confirms near-certain exploitation activity, and federal agencies were required to remediate by 2021-11-17.

Remediation

  1. Upgrade Apache HTTP Server immediately as mandated by CISA KEV: Apply updates per vendor instructions. Upgrade directly to Apache HTTP Server 2.4.51 or later — do NOT stop at version 2.4.50 as it contained an incomplete fix (see CVE-2021-42013).
  2. Verify that all instances of Apache HTTP Server 2.4.49 have been updated, including those deployed within Oracle Instantis EnterpriseTrack (17.1-17.3), Fedora 34 and 35, and NetApp Cloud Backup environments.
  3. As an interim mitigation, ensure that directories outside the document root are protected with "require all denied" directives and disable CGI execution for aliased paths to prevent remote code execution even if the traversal is exploited.
  4. Review web server access logs for path traversal patterns, particularly URL-encoded dot-dot-slash sequences, and conduct threat hunting to determine if the vulnerability was exploited prior to patching.
  5. Deploy a web application firewall with path traversal detection rules and enable real-time monitoring for anomalous file access patterns outside the configured document root.

Technical Details

CVE-2021-41773 is a path traversal vulnerability in Apache HTTP Server 2.4.49, introduced by a flaw in a change to path normalization. The vulnerability allows attackers to craft URL requests with encoded directory traversal sequences that bypass the path normalization process, resolving to files outside the directories configured by Alias-like directives. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H reflects maximum exploitability: network-accessible, low complexity, no authentication, and no user interaction. When directories outside the document root lack "require all denied" restrictions, the traversal allows unauthorized file access. When CGI scripts are enabled for these aliased paths, the vulnerability escalates to full remote code execution. The fix in Apache 2.4.50 was found to be incomplete (CVE-2021-42013), requiring a further update to 2.4.51.

Frequently Asked Questions

Is CVE-2021-41773 being actively exploited?

Yes. CVE-2021-41773 was exploited in the wild before disclosure and is listed in the CISA Known Exploited Vulnerabilities catalog. The vulnerability is known to be used in ransomware campaigns. The EPSS score of 94.4% (99.97th percentile) indicates near-certain exploitation.

What products are affected by CVE-2021-41773?

CVE-2021-41773 affects Apache HTTP Server version 2.4.49 only (not earlier versions). Additionally affected are Fedora 34 and 35, Oracle Instantis EnterpriseTrack (17.1-17.3), and NetApp Cloud Backup.

How do I fix CVE-2021-41773?

Upgrade Apache HTTP Server directly to version 2.4.51 or later. Do NOT upgrade to 2.4.50 as it contained an incomplete fix that was bypassed by CVE-2021-42013. As an interim measure, protect directories outside the document root with "require all denied" and disable CGI for aliased paths.

How severe is CVE-2021-41773?

CVE-2021-41773 has a CVSS 3.1 score of 9.8 (CRITICAL) and an EPSS score of 94.4% (99.97th percentile). The vulnerability enables remote code execution without authentication and is actively used in ransomware campaigns, requiring emergency remediation.

CVSS Score

9.8
CRITICAL(9.8)

EPSS Score

EPSS Score99.99%
EPSS Percentile100.0%

Dates

PublishedOctober 5, 2021
Last ModifiedJune 17, 2026
StatusAnalyzed
CVSS Versionv3.1

Need Help With Vulnerability Management?

Our security experts can help you prioritize and remediate vulnerabilities effectively.