Skip to content
OpenAdvisories
Medium · 6.2 CVE-2024-39884 EUVD-2024-38335GHSA-5r34-776f-3434

Apache HTTP Server: source code disclosure with handlers configured via AddType

Published Jul 4, 2024 · Updated Feb 13, 2025 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache HTTP Server 2.4.60 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache2 2.4.61-1 —
Debian 13 apache2 2.4.61-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS apache2 2.4.58-1ubuntu8.2 USN-6885-1
Ubuntu 22.04 LTS apache2 2.4.52-1ubuntu4.10 USN-6885-1
Ubuntu 20.04 LTS apache2 2.4.41-4ubuntu3.19 USN-6885-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS apache2 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP6 apache2 2.4.51-150400.6.34.1 SUSE-SU-2024:3173-1, SUSE-SU-2024:3172-1
SLES 15 SP6 apache2-devel +4 2.4.58-150600.5.23.1 SUSE-SU-2024:3172-1
SLES 15 SP5 apache2 2.4.51-150400.6.34.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:3173-1
SLES 15 SP4 apache2 2.4.51-150400.6.34.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:3173-1
SLES 15 SP3 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
SLES 12 SP5 apache2 +1 2.4.51-35.60.1 SUSE-SU-2024:3061-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLES for SAP 15 SP4 apache2 2.4.51-150400.6.34.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:3173-1
SLES for SAP 15 SP3 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
SLES for SAP 12 SP5 apache2 +1 2.4.51-35.60.1 SUSE-SU-2024:3061-1
SLE HPC 15 SP5 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLE HPC 15 SP4 apache2 2.4.51-150400.6.34.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:3173-1
SLE HPC 15 SP3 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
SUSE Manager Server 4.3 apache2 2.4.51-150400.6.34.1 SUSE-SU-2024:3173-1
SUSE Manager Proxy 4.3 apache2 2.4.51-150400.6.34.1 SUSE-SU-2024:3173-1
SUSE Enterprise Storage 7.1 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2 2.4.61-1.1 openSUSE-SU-2024:14116-1
openSUSE Leap 15.6 apache2 +6 2.4.58-150600.5.23.1 SUSE-SU-2024:3172-1
openSUSE Leap 15.5 apache2 2.4.51-150400.6.34.1 SUSE-SU-2024:3173-1
ReleasePackageFixed inAdvisory
Alpine v3.24 apache2 2.4.61-r0 —
Alpine v3.23 apache2 2.4.61-r0 —
Alpine v3.22 apache2 2.4.61-r0 —
Alpine v3.21 apache2 2.4.61-r0 —
Alpine v3.20 apache2 2.4.61-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 apache2 2.4.61-r0 —
Alpine v3.18 apache2 2.4.61-r0 —
Alpine v3.17 apache2 2.4.61-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 httpd +8 2.4.61-1.amzn2023 ALAS2023-2024-656
Amazon Linux 2023 mod_ssl +1 1:2.4.61-1.amzn2023 ALAS2023-2024-656
Amazon Linux 2 httpd +7 2.4.61-1.amzn2.0.1 ALAS2-2024-2594
Amazon Linux 2 mod_ssl +1 1:2.4.61-1.amzn2.0.1 ALAS2-2024-2594

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 httpd 2.4.61-1 —
Azure Linux 2 (CBL-Mariner) httpd 2.4.61-1 —

Advisories 11

References