BLACKOUT MAP

Apache · HTTP Server

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)

Exploited in attacks Used by ransomware Critical 9.8 Attack chance: >99.9%
Share

What it is

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. 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 only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

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. This CVE ID resolves an incomplete patch for CVE-2021-41773.

Added to the CISA list
November 3, 2021
Published
October 7, 2021
Severity
Critical 9.8 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
>99.9% in the top 0.1% of all known vulnerabilities
Weakness
CWE-22
More details
NVD · CVE.org · CISA
All references (20)

More exploited flaws from Apache

AddedVulnerabilityProductSeverityAttack chance
May 1, 2025Improper Escaping of OutputCVE-2024-38475HTTP ServerCritical 9.1>99.9%
Nov 3, 2021Privilege EscalationCVE-2019-0211HTTP ServerHigh 7.865%
Nov 3, 2021Path TraversalCVE-2021-41773used by ransomwareHTTP ServerHigh 7.5>99.9%
Oct 8, 2026Command InjectionCVE-2016-3081StrutsHigh 8.197%
Aug 4, 2026Missing Encryption of Sensitive DataCVE-2026-34486TomcatHigh 7.599%
Apr 16, 2026Improper Input ValidationCVE-2026-34197ActiveMQHigh 8.898%
Apr 1, 2025Path EquivalenceCVE-2025-24813TomcatCritical 10.099.9%
Feb 4, 2025Forced BrowsingCVE-2024-45195OFBizCritical 9.8>99.9%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.