CVE-2024-39884
Apache HTTP Server: source code disclosure with handlers configured via AddType
Severity: High CVSS 6.2. Status in our packages: Fixed.
About CVE-2024-39884
A regression in the core of Apache HTTP Server 2.4.60 ignores some use of the legacy content-type based configuration of handlers. "AddType" and similar configuration, under some circumstances where files are requested indirectly, result in source code disclosure of local content. For example, PHP scripts may be served instead of interpreted. Users are recommended to upgrade to version 2.4.61, which fixes this issue.
Description quoted from the CVE record at cve.org.
| Published | 2024-07-04 |
|---|---|
| CVSS | Medium 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (scored by CISA-ADP) |
| Affected upstream | Apache HTTP Server 2.4.60 |
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.60 | Everpatch httpd |
Check a server for CVE-2024-39884
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-39884The httpd package restarts the server on update.
Fixed in the same build
- CVE-2024-43204: Apache HTTP Server: SSRF with mod_headers setting Content-Type header
- CVE-2024-42516: Apache HTTP Server: HTTP response splitting
- CVE-2024-40725: Apache HTTP Server: source code disclosure with handlers configured via AddType
- 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
Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.