{"id":"CVE-2021-42013","aliases":["CVE-2021-42013","BIT-APACHE-2021-42013"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"},{"lang":"en","text":"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.","source":"kev"}],"published":"2021-10-07T15:50:14.000Z","modified":"2026-09-08T08:45:44.071Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"Apache HTTP Server 2.4.49","status":"affected"},{"version":"Apache HTTP Server 2.4.50","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache HTTP Server","source":"cvelist"},{"ranges":[{"status":"affected","version":"2.4.49"},{"status":"affected","version":"2.4.50"}],"vendor":"apache","product":"http_server","cpe":"cpe:2.3:a:apache:http_server:2.4.49:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"17.1"},{"status":"affected","version":"17.2"},{"status":"affected","version":"17.3"}],"vendor":"oracle","product":"instantis_enterprisetrack","cpe":"cpe:2.3:a:oracle:instantis_enterprisetrack:17.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"9.2.6.0"}],"vendor":"oracle","product":"jd_edwards_enterpriseone_tools","cpe":"cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"18.1.0.1.0"}],"vendor":"oracle","product":"secure_backup","cpe":"cpe:2.3:a:oracle:secure_backup:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"cloud_backup","cpe":"cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"2.4.49","status":"affected","fixed":"2.4.50"},{"type":"semver","introduced":"2.4.50","status":"affected","fixed":"2.4.51"}],"ecosystem":"Bitnami","package":"apache","purl":"pkg:bitnami/apache","source":"bitnami"},{"ranges":[],"vendor":"Apache","product":"HTTP Server","source":"kev"}],"references":[{"url":"https://httpd.apache.org/security/vulnerabilities_24.html","tags":["advisory","release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r7c795cd45a3384d4d27e57618a215b0ed19cb6ca8eb070061ad5d837%40%3Cannounce.apache.org%3E","tags":["discussion","mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/rb5b0e46f179f60b0c70204656bc52fcb558e961cb4d06a971e9e3efb%40%3Cusers.httpd.apache.org%3E","tags":["discussion","mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/07/6","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-pathtrv-LAzg68cZ","tags":["advisory","third-party-advisory","vendor-advisory","x-refsource-cisco","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://jvn.jp/en/jp/JVN51106450/index.html","tags":["advisory","third-party-advisory","x-refsource-jvn","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/08/1","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r17a4c6ce9aff662efd9459e9d1850ab4a611cb23392fc68264c72cb3%40%3Ccvs.httpd.apache.org%3E","tags":["fix","mailing-list","patch","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/08/2","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/08/3","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/08/4","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/08/6","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/08/5","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/09/1","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/11/4","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMIIEFINL6FUIOPD2A3M5XC6DH45Y3CC/","tags":["article","release-notes","vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WS5RVHOIIRECG65ZBTZY7IEJVWQSQPG3/","tags":["article","release-notes","vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/15/3","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/16/1","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["advisory","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0009/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/164629/Apache-2.4.49-2.4.50-Traversal-Remote-Code-Execution.html","tags":["advisory","exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/164941/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html","tags":["advisory","exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/164501/Apache-HTTP-Server-2.4.50-Path-Traversal-Code-Execution.html","tags":["advisory","exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/164609/Apache-HTTP-Server-2.4.50-Remote-Code-Execution.html","tags":["advisory","exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/165089/Apache-HTTP-Server-2.4.50-CVE-2021-42013-Exploitation.html","tags":["advisory","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["advisory","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://packetstormsecurity.com/files/167397/Apache-2.4.50-Remote-Code-Execution.html","tags":["advisory","exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.povilaika.com/apache-2-4-50-exploit/","tags":["advisory","exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-20","tags":["advisory","third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-42013","tags":["government-resource","us-government-resource","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42013","tags":["kev","web"],"sources":["bitnami","kev"]}],"credits":["Reported by Juan Escobar from Dreamlab Technologies, Fernando Muñoz from NULL Life CTF Team, and Shungo Kumasaka"],"assigner":"apache","kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","name":"Apache HTTP Server Path Traversal Vulnerability","requiredAction":"Apply updates per vendor instructions.","ransomware":true,"notes":"https://nvd.nist.gov/vuln/detail/CVE-2021-42013"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"total","date":"2025-02-04T14:28:39.366Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-42013","url":"https://www.cve.org/CVERecord?id=CVE-2021-42013","licence":"CVE Terms of Use","modified":"2025-10-21T23:25:30.222Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42013","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42013","licence":"Public domain","modified":"2026-06-17T04:09:09.193Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-APACHE-2021-42013","url":"https://osv.dev/vulnerability/BIT-APACHE-2021-42013","licence":"Apache-2.0","modified":"2026-09-08T08:45:44.071Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2021-42013","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-42013","licence":"CC0-1.0","modified":"2021-11-03T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:58:04.370Z","epss":{"score":0.99964,"percentile":0.99975,"date":"2026-12-01T12:00:22.000Z"}}