{"cve":"CVE-2024-38475","nvd":{"published":"2024-07-01T19:15:04.883","modified":"2026-06-17T07:40:21.380","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-116"],"references":["https://httpd.apache.org/security/vulnerabilities_24.html","https://security.netapp.com/advisory/ntap-20240712-0001/","http://www.openwall.com/lists/oss-security/2024/07/01/8","https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf","https://httpd.apache.org/security/vulnerabilities_24.html"],"products":["apache:http_server","netapp:ontap_9","sonicwall:sma_200_firmware","sonicwall:sma_210_firmware","sonicwall:sma_400_firmware","sonicwall:sma_410_firmware","sonicwall:sma_500v_firmware"],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-38475","score":0.99957,"percentile":0.99975,"date":"2026-10-31"},"kev":{"cve":"CVE-2024-38475","date_added":"2025-05-01","due_date":"2025-05-22","vendor":"Apache","product":"HTTP Server","known_ransomware":false},"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}