CVE-2024-38475
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
Severity: High CVSS 9.1. Status in our packages: Fixed.
About CVE-2024-38475
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.
Description quoted from the CVE record at cve.org.
| Published | 2024-07-01 |
|---|---|
| Weakness | CWE-116 Improper Encoding or Escaping of Output |
| CVSS | Critical 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (scored by CISA-ADP) |
| Affected upstream | Apache HTTP Server 2.4.0 through 2.4.59 |
Our advisory GPSA-2026-0026
GPSA-2026-0026: httpd: 72 security fixes for CentOS 7, including CVE-2024-38475 (opens in a new tab) (Important, issued 2026-12-06).
Status in GetPageSpeed packages
| Product | Status | Fixed in | Details |
|---|---|---|---|
| httpd | Fixed | 2.4.6-107.el7.everpatch1 | GPSA-2026-0026 (opens in a new tab) |
| Apache httpd 2.4.6 (CentOS 7) | Fixed | 2.4.6-106.el7.gps1 Affected upstream: 2.4.0 through 2.4.59 | Everpatch httpd |
Check a server for CVE-2024-38475
Everpatch httpd 2.4.6-106.el7.gps1 or later carries the fix. The package changelog names every CVE a build fixes.
rpm -q httpd
rpm -q --changelog httpd | grep -F CVE-2024-38475The httpd package restarts the server on update.
Fixed in the same build
- CVE-2024-39573: Apache HTTP Server: mod_rewrite proxy handler substitution
- CVE-2024-38477: Apache HTTP Server: Crash resulting in Denial of Service in mod_proxy via a malicious request
- CVE-2024-38476: Apache HTTP Server may use exploitable/malicious backend application output to run local handlers via internal redirect
- CVE-2024-38474: Apache HTTP Server weakness with encoded question marks in backreferences
- CVE-2024-38473: Apache HTTP Server proxy encoding problem
- CVE-2024-24795: Apache HTTP Server: HTTP Response Splitting in multiple modules
Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.