CVE-2021-42013

Description

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.964%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-11-03 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 6
Metasploit modules: 2
Nuclei templates: 1
Exploit-DB: 3

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameApache HTTP Server Path Traversal Vulnerability
Vendor / productApache / HTTP Server
Date added2021-11-03
Federal remediation due date2021-11-17
Required actionApply updates per vendor instructions.
Known ransomware campaign useKnown

CISA SSVC decision points

Exploitationactive
Automatableyes
Technical impacttotal
Scored2025-02-04

Timeline

  1. 2021-10-07Published by the CNA15:50 UTC
  2. 2021-10-13First Exploit-DB entry (EDB-ID 50406)6 days after publication
  3. 2021-11-03Added to the CISA KEV catalog27 days after publication
  4. 2025-02-04CISA SSVC decision recorded1216 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 50512webappsmultiple2021-11-11yes
EDB-ID 50406webappsmultiple2021-10-13yes
EDB-ID 50446webappsmultiple2021-10-25no

Nuclei templates:

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
apache http_server2.4.49no fix listed2.4.50no fix listednot listednot listed
fedoraproject fedora34no fix listed35no fix listednot listednot listed
netapp cloud_backup
oracle instantis_enterprisetrack17.1no fix listed17.2no fix listed17.3no fix listednot listednot listednot listed
oracle jd_edwards_enterpriseone_toolsbefore 9.2.6.0fixed in 9.2.6.09.2.6.0
oracle secure_backupbefore 18.1.0.1.0fixed in 18.1.0.1.018.1.0.1.0

Products and versions as NVD and the vendor that published the CVE list them.

References

31 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources