CVE-2024-38475: Apache HTTP Server · Improper Encoding or Escaping of Output
Affects Apache HTTP ServerSource GCVE Database
Exploited in the wild · KEV due 22 May 2025 · public detection template (Nuclei) : apply the vendor's fix or mitigations to Apache HTTP Server now.
Data as of 30 Oct 2026, 02:18 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.1 |
|---|
- KEV deadline
- US federal agencies must patch by this date; a sensible deadline for everyone else. Other KEV due dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 1 Jul 2024
Detectable: evidence found.
nuclei template: Sonicwall - Pre-Authentication Arbitrary File Read
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: evidence found.
Listed in CISA KEV 304 days after disclosure
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by Apache Software Foundation
, 14 days before disclosure
CVE published
on cve.org
, t = 0
Added to CISA KEV (opens in a new tab)
exploitation confirmed
, 304 days after disclosure
KEV remediation due
US federal deadline
, 325 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA KEV (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
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.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache HTTP Server | Affected
| Fixed in– |
Description
CVE-2024-38475 is a critical vulnerability in Apache HTTP Server 2.4.59 and earlier involving improper escaping of output in mod_rewrite. This flaw allows attackers to map URLs to filesystem locations that are permitted to be served but not intended to be directly reachable, potentially leading to code execution or source code disclosure. The issue affects substitutions in server context that use backreferences or variables as the first segment of the substitution. The rewrite flag "UnsafePrefixStat" can be used as a temporary measure to opt back in after ensuring constraints on substitutions.
References
- httpd.apache.org/security/vulnerabilities_24.html (opens in a new tab)
- security.netapp.com/advisory/ntap-20240712-0001/ (opens in a new tab)
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475 (opens in a new tab)
- blackhat.com/us-24/briefings/schedule/index.html (opens in a new tab)
- github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/01/8 (opens in a new tab)
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018 (opens in a new tab)