CVE-2024-38475
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.
How to fix
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 due date: May 22, 2025- apache http_server2.4.60 or later
- sonicwall sma_200_firmware10.2.1.14-75sv or later
- sonicwall sma_210_firmware10.2.1.14-75sv or later
- sonicwall sma_400_firmware10.2.1.14-75sv or later
- sonicwall sma_410_firmware10.2.1.14-75sv or later
- sonicwall sma_500v_firmware10.2.1.14-75sv or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache http_server | 2.4.0 ≤ v < 2.4.60 | 2.4.60 |
| netapp ontap_9 | No range specified | — |
| sonicwall sma_200_firmware | v < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall sma_210_firmware | v < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall sma_400_firmware | v < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall sma_410_firmware | v < 10.2.1.14-75sv | 10.2.1.14-75sv |
| sonicwall sma_500v_firmware | v < 10.2.1.14-75sv | 10.2.1.14-75sv |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.