CVE-2024-39884Apache HTTP Server: source code disclosure with handlers configured via AddType
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | apache2 | Fixed | 2.4.58-1ubuntu8.2 | UBUNTU-CVE-2024-39884 |
| Ubuntu 22.04 | apache2 | Fixed | 2.4.52-1ubuntu4.10 | UBUNTU-CVE-2024-39884 |
| Ubuntu 20.04 | apache2 | Fixed | 2.4.41-4ubuntu3.19 | UBUNTU-CVE-2024-39884 |
| Ubuntu 14.04 | apache2 | Fix pending | UBUNTU-CVE-2024-39884 | |
| Debian 14 | apache2 | Fixed | 2.4.61-1 | DEBIAN-CVE-2024-39884 |
| Debian 13 | apache2 | Fixed | 2.4.61-1 | DEBIAN-CVE-2024-39884 |
| Red Hat Enterprise Linux 10 | httpd | Not affected | ||
| Red Hat Enterprise Linux 10 | httpd-core | Not affected | ||
| Red Hat Enterprise Linux 10 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | httpd-filesystem | Not affected | ||
| Red Hat Enterprise Linux 10 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 10 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 10 | mod_lua | Not affected | ||
| Red Hat Enterprise Linux 10 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 10 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 10 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-core | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-filesystem | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_lua | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-filesystem | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_http2 | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_md | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 6 | httpd | Not affected | ||
| Red Hat Enterprise Linux 6 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 6 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 6 | mod_ssl | Not affected | ||
| Alpine Linux 3.24 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine Linux 3.23 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine Linux 3.22 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine Linux 3.21 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine Linux 3.20 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine Linux 3.19 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine Linux 3.18 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine Linux 3.17 | apache2 | Fixed | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache HTTP Server: affected: 2.4.60
Vendor advisories:
- https://httpd.apache.org/security/vulnerabilities_24.html (vendor-advisory)
References
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://security.netapp.com/advisory/ntap-20240712-0002/
- http://www.openwall.com/lists/oss-security/2024/07/17/6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.