{"answers":{"affected":"1 open source package ship an affected version, including apache. It affects 7 products.","exploited":"Yes. Attackers have exploited CVE-2024-38475 in the wild since at least 1 May 2025.","fix":"Upgrade apache to 2.4.60 or later. US federal agencies must fix it by 22 May 2025.","what":"CVE-2024-38475 is a critical path traversal vulnerability in Apache Http Server, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-38475 and fix it if it is affected.\n\nWhat it is: CVE-2024-38475 is a critical path traversal vulnerability in Apache Http Server, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-38475 in the wild since at least 1 May 2025.\n\nAffected packages and fixed versions:\n- apache (Bitnami): affected from 2.4.0; fixed in 2.4.60\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-2024-38475/ (Markdown: https://insights.sbomify.com/CVE-2024-38475/index.md)","id":"CVE-2024-38475","markdown":"https://insights.sbomify.com/CVE-2024-38475/index.md","name":"CVE-2024-38475","record":{"aliases":["ALPINE-CVE-2024-38475","BELL-CVE-2024-38475","BIT-apache-2024-38475","CLEANSTART-2026-JH66547","DEBIAN-CVE-2024-38475","GHSA-pf44-j75v-mhr8","UBUNTU-CVE-2024-38475"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache HTTP Server","requires_auth":"none","summary":"Attackers can exploit improper escaping in mod_rewrite to access restricted filesystem paths, leading to code execution or source code disclosure.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"http_server","vendor":"apache"},{"product":"ontap_9","vendor":"netapp"},{"product":"sma_200_firmware","vendor":"sonicwall"},{"product":"sma_210_firmware","vendor":"sonicwall"},{"product":"sma_400_firmware","vendor":"sonicwall"},{"product":"sma_410_firmware","vendor":"sonicwall"},{"product":"sma_500v_firmware","vendor":"sonicwall"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. \n\nSubstitutions in server context that use a backreferences or variables as the first segment of the substitution are affected.  Some unsafe RewiteRules will be broken by this change and the rewrite flag \"UnsafePrefixStat\" can be used to opt back in once ensuring the substitution is appropriately constrained.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2024-08-18","github_poc":6,"max_poc_stars":17,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-08-18T11:30:50Z","kind":"github_poc","ref":"https://github.com/p0in7s/CVE-2024-38475","stars":17,"title":null},{"date":"2024-12-12T10:23:32Z","kind":"github_poc","ref":"https://github.com/soltanali0/CVE-2024-38475","stars":5,"title":"exploit CVE-2024-38475(mod_rewrite weakness with filesystem path matching)"},{"date":"2025-05-07T00:02:36Z","kind":"github_poc","ref":"https://github.com/abrewer251/CVE-2024-38475_SonicBoom_Apache_URL_Traversal_PoC","stars":0,"title":null},{"date":"2025-05-09T07:51:45Z","kind":"github_poc","ref":"https://github.com/syaifulandy/CVE-2024-38475","stars":0,"title":"CVE-2024-38475 Scanner using FFUF + Seclists"},{"date":"2026-05-31T18:12:18Z","kind":"github_poc","ref":"https://github.com/Nyakki-Labs-0x420/Myesve","stars":0,"title":"CVE-2024-38475 exploitation \u0026 scanning tool with Mullvad VPN rotation"},{"date":"2026-10-17T19:53:34Z","kind":"github_poc","ref":"https://github.com/akabul0us/apache_poc","stars":0,"title":"CVE-2024-38475"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-38475.yaml","stars":null,"title":"Sonicwall - Pre-Authentication Arbitrary File Read"}],"tier":"exploited"},"has_fix":true,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","indexable":true,"kev":{"dateAdded":"2025-05-01","dueDate":"2025-05-22","knownRansomwareCampaignUse":"Unknown","product":"HTTP Server","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Apache","vulnerabilityName":"Apache HTTP Server Improper Escaping of Output Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:http_server","products":["apache:http_server"],"type":"path_traversal","year":"2024"},"n_packages":1,"n_references":2,"next":{"headline":"Apache HTTP Server may use exploitable/malicious backend application output to run local handlers via internal redirect","id":"CVE-2024-38476"},"packages":[{"ecosystem":"Bitnami","fixed":["2.4.60"],"introduced":["2.4.0"],"last_affected":[],"package":"apache","purl":"pkg:bitnami/apache","source":"BIT-apache-2024-38475"}],"prev":{"headline":"Apache HTTP Server weakness with encoded question marks in backreferences","id":"CVE-2024-38474"},"products":["Apache HTTP Server"],"published":"2024-07-01","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,"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":7.5,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","kev_date_added":"2021-11-03","published":"2021-10-05"},{"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":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["Apache Software Foundation"]},"summary":"Attackers can exploit improper escaping in mod_rewrite to access restricted filesystem paths, leading to code execution or source code disclosure.","url":"https://insights.sbomify.com/CVE-2024-38475/"}