CVE-2024-38475
CRITICAL 9.1CVSS 3.1known exploitedApache HTTP Server Improper Escaping of Output Vulnerability
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.
- Published
- 1 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-116
- Sources
- NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 1 May 2025; US federal agencies must fix it by 22 May 2025.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | http_servercpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:* |
>= 2.4.0, < 2.4.60 | 2.4.60 |
| NVD | netapp | ontap_9cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | sonicwall | sma_200_firmwarecpe:2.3:o:sonicwall:sma_200_firmware:*:*:*:*:*:*:*:* |
< 10.2.1.14-75sv | 10.2.1.14-75sv |
| NVD | sonicwall | sma_210_firmwarecpe:2.3:o:sonicwall:sma_210_firmware:*:*:*:*:*:*:*:* |
< 10.2.1.14-75sv | 10.2.1.14-75sv |
| NVD | sonicwall | sma_400_firmwarecpe:2.3:o:sonicwall:sma_400_firmware:*:*:*:*:*:*:*:* |
< 10.2.1.14-75sv | 10.2.1.14-75sv |
| NVD | sonicwall | sma_410_firmwarecpe:2.3:o:sonicwall:sma_410_firmware:*:*:*:*:*:*:*:* |
< 10.2.1.14-75sv | 10.2.1.14-75sv |
| NVD | sonicwall | sma_500v_firmwarecpe:2.3:o:sonicwall:sma_500v_firmware:*:*:*:*:*:*:*:* |
< 10.2.1.14-75sv | 10.2.1.14-75sv |
References
- https://httpd.apache.org/security/vulnerabilities_24.html · Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240712-0001/ · Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/07/01/8 · Third Party Advisory
- https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf · Patch
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018 · Third Party Advisory
- https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227 · Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475 · Third Party Advisory, US Government Resource
- https://nvd.nist.gov/vuln/detail/CVE-2024-38475
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 Jul 2024)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 1 May 2025)
- 1 May 2025 00:00 UTC · Listed as known exploited