CVE-2024-38475Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
Updated under an hour ago ()
Does this affect you?
It affects Apache Software Foundation Apache HTTP Server and 7 other products. Add what you run to find out whether that includes you.
CISA lists it as known exploited since May 1, 2025; federal agencies had to remediate by May 22, 2025. Treat that date as your deadline.
Do this next
Free account, 1 product
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
- 9.1 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE)
- CWE-116
- Known exploited
- Added to CISA KEV May 1, 2025; federal remediation due May 22, 2025Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- EPSS (exploitation in the next 30 days)
- 99.96% (percentile 100)
- Assigned by
- apache
- NVD analysis
- Analyzed
- Record last updated
- Nov 3, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Apache Software Foundation Apache HTTP Server apache_software_foundation:apache_http_server (from the name) | from 2.4.0 through 2.4.59 | CNA record |
apache http_server apache:http_server | from 2.4.0 through 2.4.59 | CISA ADP |
netapp ontap_9 netapp:ontap_9 | all versions | CISA ADP |
apache http_server apache:http_server | from 2.4.0 before 2.4.60 | NVD |
netapp ontap_9 netapp:ontap_9 | all versions | NVD |
sonicwall sma_200_firmware sonicwall:sma_200_firmware | before 10.2.1.14-75sv | NVD |
sonicwall sma_210_firmware sonicwall:sma_210_firmware | before 10.2.1.14-75sv | NVD |
sonicwall sma_400_firmware sonicwall:sma_400_firmware | before 10.2.1.14-75sv | NVD |
sonicwall sma_410_firmware sonicwall:sma_410_firmware | before 10.2.1.14-75sv | NVD |
sonicwall sma_500v_firmware sonicwall:sma_500v_firmware | before 10.2.1.14-75sv | NVD |
References
- https://httpd.apache.org/security/vulnerabilities_24.htmlvendor-advisory
- https://security.netapp.com/advisory/ntap-20240712-0001/third-party-advisory
- http://www.openwall.com/lists/oss-security/2024/07/01/8third-party-advisory
- https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cfpatch
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018third-party-advisory
- https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475third-party-advisory, us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.