CVE-2024-38475
Apache HTTP Server Improper Escaping of Output Vulnerability
- Actively exploited
- Critical · 9.1 of 10
- Exploited since
- 1 May 2025 added to the CISA list
- Chance of attacks
- over 99.9% in the next 30 days (FIRST EPSS)
- Fix deadline
- 22 May 2025 for US federal agencies
- Published
- 1 Jul 2024 in the NVD
What this means
Apache HTTP Server contains an improper escaping of output vulnerability in mod_rewrite that 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.
CISA
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. Substitutions 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.
NIST National Vulnerability Database
What to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- Apache Software Foundation Apache HTTP Server
- apache http_server
- netapp ontap_9
Official sources
- nvd.nist.gov/vuln/detail/CVE-2024-38475
- httpd.apache.org/security/vulnerabilities_24.html vendor advisory
- httpd.apache.org/security/vulnerabilities_24.html vendor advisory
- security.netapp.com/advisory/ntap-20240712-0001/
- openwall.com/lists/oss-security/2024/07/01/8
- github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018
- security.netapp.com/advisory/ntap-20240712-0001/
- blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-seman...
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.