CVE-2024-38475: Apache HTTP Server Improper Escaping of Output Vulnerability
Vulnerability summary
CVE-2024-38475 is a critical (CVSS 9.1) Improper Encoding or Escaping of Output vulnerability in Apache HTTP Server. It is known to be exploited: CISA lists it, first on 01-05-2025. EPSS estimates a 99.96% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 22 · Related 9Timeline
- 01-07-2024PublishedVulnerability first disclosed.
- 01-05-2025Added to CISA KEVApache HTTP Server Improper Escaping of Output Vulnerability
- 22-05-2025CISA remediation dueApply mitigations per vendor instructions.
- 03-11-2025Last modifiedVulnerability information updated.
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. 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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
99.96%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 99.96% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 01-05-2025
- Federal due date
- 22-05-2025
CISA required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. nvd.nist.gov/vuln/detail/CVE-2024-38475
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Sonicwall5 products
- sma_200_firmware< 10.2.1.14-75sv
- sma_210_firmware< 10.2.1.14-75sv
- sma_400_firmware< 10.2.1.14-75sv
- sma_410_firmware< 10.2.1.14-75sv
- sma_500v_firmware< 10.2.1.14-75sv
Alpine1 product
- apache2< 2.4.60-r0
Apache1 product
- http_server≥ 2.4.0, < 2.4.60
Apache software foundation1 product
- apache http server≥ 2.4.0, ≤ 2.4.59
Debian1 product
- apache2< 2.4.61-1~deb12u1 | < 2.4.60-1
Netapp1 product
- ontap_9na
Ubuntu1 product
- apache2< 2.4.7-1ubuntu4.22+esm10 | < 2.4.18-2ubuntu3.17+esm13 | < 2.4.29-1ubuntu4.27+esm3 | < 2.4.41-4ubuntu3.19 | < 2.4.52-1ubuntu4.10 | < 2.4.58-1ubuntu8.2
7 vendors · 11 products
References
16 links- security.netapp.com/advisory/ntap-20240712-0001/Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475Government ResourceThird Party AdvisoryUS Government Resource
- www.blackhat.com/us-24/briefings/schedule/index.htmlThird Party Advisory
- www.openwall.com/lists/oss-security/2024/07/01/8Third Party Advisory
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018Third Party Advisory