CVEfocus › CVE database › CVE-2024-39884

CVE-2024-39884Apache HTTP Server: source code disclosure with handlers configured via AddType

CVSS 6.2 MediumEPSS 0.9% (higher than 57% of CVEs)Published 2024-07-04Updated 2025-02-13Assigner: apache

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

13Fixed
1Fix pending
46Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04apache2Fixed2.4.58-1ubuntu8.2UBUNTU-CVE-2024-39884
Ubuntu 22.04apache2Fixed2.4.52-1ubuntu4.10UBUNTU-CVE-2024-39884
Ubuntu 20.04apache2Fixed2.4.41-4ubuntu3.19UBUNTU-CVE-2024-39884
Ubuntu 14.04apache2Fix pendingUBUNTU-CVE-2024-39884
Debian 14apache2Fixed2.4.61-1DEBIAN-CVE-2024-39884
Debian 13apache2Fixed2.4.61-1DEBIAN-CVE-2024-39884
Red Hat Enterprise Linux 10httpdNot affected
Red Hat Enterprise Linux 10httpd-coreNot affected
Red Hat Enterprise Linux 10httpd-develNot affected
Red Hat Enterprise Linux 10httpd-filesystemNot affected
Red Hat Enterprise Linux 10httpd-manualNot affected
Red Hat Enterprise Linux 10httpd-toolsNot affected
Red Hat Enterprise Linux 10mod_ldapNot affected
Red Hat Enterprise Linux 10mod_luaNot affected
Red Hat Enterprise Linux 10mod_proxy_htmlNot affected
Red Hat Enterprise Linux 10mod_sessionNot affected
Red Hat Enterprise Linux 10mod_sslNot affected
Red Hat Enterprise Linux 9httpdNot affected
Red Hat Enterprise Linux 9httpd-coreNot affected
Red Hat Enterprise Linux 9httpd-develNot affected
Red Hat Enterprise Linux 9httpd-filesystemNot affected
Red Hat Enterprise Linux 9httpd-manualNot affected
Red Hat Enterprise Linux 9httpd-toolsNot affected
Red Hat Enterprise Linux 9mod_ldapNot affected
Red Hat Enterprise Linux 9mod_luaNot affected
Red Hat Enterprise Linux 9mod_proxy_htmlNot affected
Red Hat Enterprise Linux 9mod_sessionNot affected
Red Hat Enterprise Linux 9mod_sslNot affected
Red Hat Enterprise Linux 8httpdNot affected
Red Hat Enterprise Linux 8httpd-develNot affected
Red Hat Enterprise Linux 8httpd-filesystemNot affected
Red Hat Enterprise Linux 8httpd-manualNot affected
Red Hat Enterprise Linux 8httpd-toolsNot affected
Red Hat Enterprise Linux 8mod_http2Not affected
Red Hat Enterprise Linux 8mod_ldapNot affected
Red Hat Enterprise Linux 8mod_mdNot affected
Red Hat Enterprise Linux 8mod_proxy_htmlNot affected
Red Hat Enterprise Linux 8mod_sessionNot affected
Red Hat Enterprise Linux 8mod_sslNot affected
Red Hat Enterprise Linux 7httpdNot affected
Red Hat Enterprise Linux 7httpd-develNot affected
Red Hat Enterprise Linux 7httpd-manualNot affected
Red Hat Enterprise Linux 7httpd-toolsNot affected
Red Hat Enterprise Linux 7mod_ldapNot affected
Red Hat Enterprise Linux 7mod_proxy_htmlNot affected
Red Hat Enterprise Linux 7mod_sessionNot affected
Red Hat Enterprise Linux 7mod_sslNot affected
Red Hat Enterprise Linux 6httpdNot affected
Red Hat Enterprise Linux 6httpd-develNot affected
Red Hat Enterprise Linux 6httpd-manualNot affected
Red Hat Enterprise Linux 6httpd-toolsNot affected
Red Hat Enterprise Linux 6mod_sslNot affected
Alpine Linux 3.24apache2Fixed2.4.61-r0ALPINE-CVE-2024-39884
Alpine Linux 3.23apache2Fixed2.4.61-r0ALPINE-CVE-2024-39884
Alpine Linux 3.22apache2Fixed2.4.61-r0ALPINE-CVE-2024-39884
Alpine Linux 3.21apache2Fixed2.4.61-r0ALPINE-CVE-2024-39884
Alpine Linux 3.20apache2Fixed2.4.61-r0ALPINE-CVE-2024-39884
Alpine Linux 3.19apache2Fixed2.4.61-r0ALPINE-CVE-2024-39884
Alpine Linux 3.18apache2Fixed2.4.61-r0ALPINE-CVE-2024-39884
Alpine Linux 3.17apache2Fixed2.4.61-r0ALPINE-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.

Vendor advisories:

References

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.