9.8criticalExploited
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 99.9% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- BIT-APACHE-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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache HTTP Server | Apache HTTP Server 2.4.49, Apache HTTP Server 2.4.50 | CVE List |
| apache http_server | 2.4.49, 2.4.50 | NVD |
| fedoraproject fedora | 34, 35 | NVD |
| oracle instantis_enterprisetrack | 17.1, 17.2, 17.3 | NVD |
| oracle jd_edwards_enterpriseone_tools | before 9.2.6.0 | NVD |
| oracle secure_backup | before 18.1.0.1.0 | NVD |
| netapp cloud_backup | Not specified | NVD |
| apache (Bitnami) | from 2.4.49 before 2.4.50, from 2.4.50 before 2.4.51 | Bitnami Vulnerability Database |
| Apache HTTP Server | Not specified | CISA KEV |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se ha detectado que la corrección de CVE-2021-41773 en Apache HTTP Server versión 2.4.50 no era suficiente. Un atacante podía usar un ataque de salto de ruta para asignar URLs a archivos fuera de los directorios configurados por las directivas tipo Alias. Si los archivos fuera de estos directorios no están protegidos por la configuración habitual por defecto "require all denied", estas peticiones pueden tener éxito. Si los scripts CGI también están habilitados para estas rutas alias, esto podría permitir una ejecución de código remota . Este problema sólo afecta a Apache versión 2.4.49 y Apache versión 2.4.50 y no a versiones anteriores
CISA KEV
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42013 changed 2025-10-21 | CVE Terms of Use |
| NVD | CVE-2021-42013 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-APACHE-2021-42013 changed 2026-09-08 | Apache-2.0 |
| CISA KEV | CVE-2021-42013 changed 2021-11-03 | CC0-1.0 |