{"answers":{"affected":"1 open source package ship an affected version, including apache. It affects 4 products.","exploited":"Yes. Attackers have exploited CVE-2021-41773 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"Upgrade apache to 2.4.50 or later. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-41773 is a high-severity path traversal vulnerability in Apache Http Server, published on 5 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-41773 and fix it if it is affected.\n\nWhat it is: CVE-2021-41773 is a high-severity path traversal vulnerability in Apache Http Server, published on 5 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-41773 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected packages and fixed versions:\n- apache (Bitnami): affected from 2.4.49; fixed in 2.4.50\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-41773/ (Markdown: https://insights.sbomify.com/CVE-2021-41773/index.md)","id":"CVE-2021-41773","markdown":"https://insights.sbomify.com/CVE-2021-41773/index.md","name":"CVE-2021-41773","record":{"aliases":["ALPINE-CVE-2021-41773","BIT-apache-2021-41773","CLEANSTART-2026-ZP32525","DEBIAN-CVE-2021-41773","GHSA-29h7-gr57-5f8r"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache HTTP Server","requires_auth":"none","summary":"Attackers can exploit path traversal to read files outside web directories or execute code if CGI is enabled, affecting Apache HTTP Server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"http_server","vendor":"apache"},{"product":"fedora","vendor":"fedoraproject"},{"product":"cloud_backup","vendor":"netapp"},{"product":"instantis_enterprisetrack","vendor":"oracle"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. 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 is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.","ecosystems":["Bitnami"],"exploits":{"exploitdb":2,"first_seen":"2021-05-10","github_poc":175,"max_poc_stars":211,"metasploit":2,"nuclei":1,"refs":[{"date":"2021-10-06T07:17:05Z","kind":"github_poc","ref":"https://github.com/blasty/CVE-2021-41773","stars":211,"title":"CVE-2021-41773 playground"},{"date":"2021-10-09T03:32:18Z","kind":"github_poc","ref":"https://github.com/inbug-team/CVE-2021-41773_CVE-2021-42013","stars":147,"title":"CVE-2021-41773 CVE-2021-42013漏洞批量检测工具"},{"date":"2022-03-12T21:24:55Z","kind":"github_poc","ref":"https://github.com/thehackersbrain/CVE-2021-41773","stars":114,"title":"Apache2 2.4.49 - LFI \u0026 RCE Exploit - CVE-2021-41773"},{"date":"2021-10-07T01:31:13Z","kind":"github_poc","ref":"https://github.com/HightechSec/scarce-apache2","stars":62,"title":"A framework for bug hunting or pentesting targeting websites that have CVE-2021-41773 Vulnerability in public "},{"date":"2021-10-13T17:03:56Z","kind":"github_poc","ref":"https://github.com/MrCl0wnLab/SimplesApachePathTraversal","stars":61,"title":"Tool check: CVE-2021-41773, CVE-2021-42013, CVE-2020-17519"},{"date":"2021-10-05T17:30:43Z","kind":"github_poc","ref":"https://github.com/iilegacyyii/PoC-CVE-2021-41773","stars":52,"title":null},{"date":"2021-10-05T23:53:48Z","kind":"github_poc","ref":"https://github.com/lorddemon/CVE-2021-41773-PoC","stars":39,"title":null},{"date":"2021-10-05T16:13:38Z","kind":"github_poc","ref":"https://github.com/Vulnmachines/cve-2021-41773","stars":38,"title":"CVE-2021-41773 Path Traversal vulnerability in Apache 2.4.49."}],"tier":"exploited"},"has_fix":true,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Known","product":"HTTP Server","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Apache","vulnerabilityName":"Apache HTTP Server Path Traversal Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:http_server","products":["apache:http_server","fedoraproject:fedora","netapp:cloud_backup","oracle:instantis_enterprisetrack"],"type":"path_traversal","year":"2021"},"n_packages":1,"n_references":29,"next":{"headline":"Use after free in n/a","id":"CVE-2021-41780"},"packages":[{"ecosystem":"Bitnami","fixed":["2.4.50"],"introduced":["2.4.49"],"last_affected":[],"package":"apache","purl":"pkg:bitnami/apache","source":"BIT-apache-2021-41773"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2021-41772"},"products":["Apache HTTP Server"],"published":"2021-10-05","related":[{"cvss_score":9.8,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-42013","kev_date_added":"2021-11-03","published":"2021-10-07"},{"cvss_score":9.1,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","kev_date_added":"2025-05-01","published":"2024-07-01"},{"cvss_score":9,"headline":"Apache HTTP Server-Side Request Forgery (SSRF)","id":"CVE-2021-40438","kev_date_added":"2021-12-01","published":"2021-09-16"},{"cvss_score":7.8,"headline":"Apache HTTP Server Privilege Escalation","id":"CVE-2019-0211","kev_date_added":"2021-11-03","published":"2019-04-08"},{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2010-0425","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2005-2700","kev_date_added":null,"published":"2005-09-06"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Apache Software Foundation"]},"summary":"Attackers can exploit path traversal to read files outside web directories or execute code if CGI is enabled, affecting Apache HTTP Server.","url":"https://insights.sbomify.com/CVE-2021-41773/"}