CVE-2024-39884 json
Apache HTTP Server: source code disclosure with handlers configured via AddType
published 2024-07-04 2 y ago modified 2026-09-08 2 mo ago also BIT-apache-2024-39884 , EUVD-2024-38335
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami apache 2.4.61
- apache http_server 2.4.61
- apache2 Debian 14, Debian 13 2.4.61-1
debian advisories DEBIAN-CVE-2024-39884
- apache2 Ubuntu 20.04 LTS 2.4.41-4ubuntu3.19
- apache2 Ubuntu 22.04 LTS 2.4.52-1ubuntu4.10
- apache2 Ubuntu 24.04 LTS 2.4.58-1ubuntu8.2
ubuntu advisories UBUNTU-CVE-2024-39884
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- apache2 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 2.4.66-150400.6.57.1
- apache2 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 2.4.51-150200.3.79.1
- apache2 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Server Applications 15 SP6 +8 more 2.4.51-150400.6.34.1
- apache2 SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.23.1
- apache2-event SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.23.1
- apache2-utils SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.23.1
- apache2-manual openSUSE Leap 15.6 2.4.58-150600.5.23.1
- apache2-worker SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.23.1
suse advisories SUSE-SU-2026:2686-1SUSE-SU-2025:02241-1SUSE-SU-2024:3173-1SUSE-SU-2024:3172-1SUSE-SU-2024:3061-1
- apache2 openSUSE Tumbleweed 2.4.61-1.1
opensuse advisories openSUSE-SU-2024:14116-1
- apache2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 2.4.61-r0
alpine advisories ALPINE-CVE-2024-39884
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- httpd CBL-Mariner 2.0, Azure Linux 3.0 2.4.61-1
azure linux advisories AZL-43170AZL-43174
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-39884 updated cvss 7.5
httpd: source code disclosure with handlers configured via AddType
-
Red Hat Enterprise Linux 6 httpd, mod_ssl, httpd-tools, httpd-manual Red Hat Enterprise Linux 7 httpd, mod_ssl, mod_ldap, httpd-tools, mod_session, httpd-manual, +1 more Red Hat Enterprise Linux 8 httpd, mod_md, mod_ssl, mod_ldap, mod_http2, httpd-tools, +4 more Red Hat Enterprise Linux 9 httpd, mod_lua, mod_ssl, mod_ldap, httpd-core, httpd-tools, +4 more Red Hat Enterprise Linux 10 httpd Red Hat JBoss Core Services jbcs-httpd24-httpd jbcs-httpd24-httpdnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | apache | >=2.4.60, <2.4.61 |
2.4.61 |
Affected products
- Apache Software Foundation Apache HTTP Server
Classification
- Technology feeds
References
-
httpd.apache.org
/security/vulnerabilities_24.html
vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20240712-0002/
third-party-advisory, advisory
-
openwall.com
/lists/oss-security/2024/07/17/6
mailing-list, discussion
-
openwall.com
/lists/oss-security/2024/07/03/8
mailing-list, discussion
-
nvd.nist.gov
/vuln/detail/CVE-2024-39884
web
Sources
- CVE List CVE-2024-39884
- NVD CVE-2024-39884
- OSV BIT-apache-2024-39884
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.