CVE
CVE-2021-42013
CNA 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.
Affected versions
All Apache HTTP Server vulnerabilities →
- 2.4.50This version only
- 2.4.49This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- httpd.apache.org/security/vulnerabilities_24.html · Release Notes, Vendor Advisory
- www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory
- www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.