UBUNTU-CVE-2024-39884 (CVE-2024-39884)
Vulnerability from osv_ubuntu – Published: 2024-07-04 00:00 – Updated: 2026-10-08 09:16 – Source websiteA 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apache2",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-bin",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-data",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-mpm-event",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-mpm-itk",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-mpm-prefork",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-mpm-worker",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-suexec",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-suexec-custom",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-suexec-pristine",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2-utils",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "apache2.2-bin",
"binary_version": "2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "libapache2-mod-macro",
"binary_version": "1:2.4.7-1ubuntu4.22+esm16"
},
{
"binary_name": "libapache2-mod-proxy-html",
"binary_version": "1:2.4.7-1ubuntu4.22+esm16"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "apache2",
"purl": "pkg:deb/ubuntu/apache2@2.4.7-1ubuntu4.22+esm16?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.6-2ubuntu2",
"2.4.6-2ubuntu3",
"2.4.6-2ubuntu4",
"2.4.7-1ubuntu1",
"2.4.7-1ubuntu2",
"2.4.7-1ubuntu3",
"2.4.7-1ubuntu4",
"2.4.7-1ubuntu4.1",
"2.4.7-1ubuntu4.4",
"2.4.7-1ubuntu4.5",
"2.4.7-1ubuntu4.6",
"2.4.7-1ubuntu4.7",
"2.4.7-1ubuntu4.8",
"2.4.7-1ubuntu4.9",
"2.4.7-1ubuntu4.10",
"2.4.7-1ubuntu4.11",
"2.4.7-1ubuntu4.13",
"2.4.7-1ubuntu4.15",
"2.4.7-1ubuntu4.16",
"2.4.7-1ubuntu4.17",
"2.4.7-1ubuntu4.18",
"2.4.7-1ubuntu4.19",
"2.4.7-1ubuntu4.20",
"2.4.7-1ubuntu4.21",
"2.4.7-1ubuntu4.22",
"2.4.7-1ubuntu4.22+esm1",
"2.4.7-1ubuntu4.22+esm2",
"2.4.7-1ubuntu4.22+esm3",
"2.4.7-1ubuntu4.22+esm4",
"2.4.7-1ubuntu4.22+esm5",
"2.4.7-1ubuntu4.22+esm6",
"2.4.7-1ubuntu4.22+esm8",
"2.4.7-1ubuntu4.22+esm9",
"2.4.7-1ubuntu4.22+esm10",
"2.4.7-1ubuntu4.22+esm12",
"2.4.7-1ubuntu4.22+esm13",
"2.4.7-1ubuntu4.22+esm14",
"2.4.7-1ubuntu4.22+esm15",
"2.4.7-1ubuntu4.22+esm16"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "apache2",
"binary_version": "2.4.41-4ubuntu3.19"
},
{
"binary_name": "apache2-bin",
"binary_version": "2.4.41-4ubuntu3.19"
},
{
"binary_name": "apache2-data",
"binary_version": "2.4.41-4ubuntu3.19"
},
{
"binary_name": "apache2-suexec-custom",
"binary_version": "2.4.41-4ubuntu3.19"
},
{
"binary_name": "apache2-suexec-pristine",
"binary_version": "2.4.41-4ubuntu3.19"
},
{
"binary_name": "apache2-utils",
"binary_version": "2.4.41-4ubuntu3.19"
},
{
"binary_name": "libapache2-mod-md",
"binary_version": "2.4.41-4ubuntu3.19"
},
{
"binary_name": "libapache2-mod-proxy-uwsgi",
"binary_version": "2.4.41-4ubuntu3.19"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "apache2",
"purl": "pkg:deb/ubuntu/apache2@2.4.41-4ubuntu3.19?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.4.41-4ubuntu3.19"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.41-1ubuntu1",
"2.4.41-4ubuntu1",
"2.4.41-4ubuntu2",
"2.4.41-4ubuntu3",
"2.4.41-4ubuntu3.1",
"2.4.41-4ubuntu3.3",
"2.4.41-4ubuntu3.4",
"2.4.41-4ubuntu3.5",
"2.4.41-4ubuntu3.6",
"2.4.41-4ubuntu3.7",
"2.4.41-4ubuntu3.8",
"2.4.41-4ubuntu3.9",
"2.4.41-4ubuntu3.10",
"2.4.41-4ubuntu3.11",
"2.4.41-4ubuntu3.12",
"2.4.41-4ubuntu3.13",
"2.4.41-4ubuntu3.14",
"2.4.41-4ubuntu3.15",
"2.4.41-4ubuntu3.16",
"2.4.41-4ubuntu3.17"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "apache2",
"binary_version": "2.4.52-1ubuntu4.10"
},
{
"binary_name": "apache2-bin",
"binary_version": "2.4.52-1ubuntu4.10"
},
{
"binary_name": "apache2-data",
"binary_version": "2.4.52-1ubuntu4.10"
},
{
"binary_name": "apache2-suexec-custom",
"binary_version": "2.4.52-1ubuntu4.10"
},
{
"binary_name": "apache2-suexec-pristine",
"binary_version": "2.4.52-1ubuntu4.10"
},
{
"binary_name": "apache2-utils",
"binary_version": "2.4.52-1ubuntu4.10"
},
{
"binary_name": "libapache2-mod-md",
"binary_version": "2.4.52-1ubuntu4.10"
},
{
"binary_name": "libapache2-mod-proxy-uwsgi",
"binary_version": "2.4.52-1ubuntu4.10"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "apache2",
"purl": "pkg:deb/ubuntu/apache2@2.4.52-1ubuntu4.10?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.4.52-1ubuntu4.10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.48-3.1ubuntu3",
"2.4.48-3.1ubuntu4",
"2.4.51-2ubuntu1",
"2.4.52-1ubuntu1",
"2.4.52-1ubuntu2",
"2.4.52-1ubuntu4",
"2.4.52-1ubuntu4.1",
"2.4.52-1ubuntu4.2",
"2.4.52-1ubuntu4.3",
"2.4.52-1ubuntu4.4",
"2.4.52-1ubuntu4.5",
"2.4.52-1ubuntu4.6",
"2.4.52-1ubuntu4.7",
"2.4.52-1ubuntu4.8",
"2.4.52-1ubuntu4.9"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "apache2",
"binary_version": "2.4.58-1ubuntu8.2"
},
{
"binary_name": "apache2-bin",
"binary_version": "2.4.58-1ubuntu8.2"
},
{
"binary_name": "apache2-data",
"binary_version": "2.4.58-1ubuntu8.2"
},
{
"binary_name": "apache2-suexec-custom",
"binary_version": "2.4.58-1ubuntu8.2"
},
{
"binary_name": "apache2-suexec-pristine",
"binary_version": "2.4.58-1ubuntu8.2"
},
{
"binary_name": "apache2-utils",
"binary_version": "2.4.58-1ubuntu8.2"
},
{
"binary_name": "libapache2-mod-md",
"binary_version": "2.4.58-1ubuntu8.2"
},
{
"binary_name": "libapache2-mod-proxy-uwsgi",
"binary_version": "2.4.58-1ubuntu8.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "apache2",
"purl": "pkg:deb/ubuntu/apache2@2.4.58-1ubuntu8.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.4.58-1ubuntu8.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.57-2ubuntu2",
"2.4.57-2ubuntu3",
"2.4.58-1ubuntu1",
"2.4.58-1ubuntu2",
"2.4.58-1ubuntu6",
"2.4.58-1ubuntu7",
"2.4.58-1ubuntu8",
"2.4.58-1ubuntu8.1"
]
}
],
"aliases": [],
"details": "A regression in the core of Apache HTTP Server 2.4.60 ignores some use of the legacy content-type based configuration of handlers.\u00a0 \u00a0\"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.",
"id": "UBUNTU-CVE-2024-39884",
"modified": "2026-10-08T09:16:02Z",
"published": "2024-07-04T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-39884"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-39884"
},
{
"type": "REPORT",
"url": "https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2024-39884"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6885-1"
}
],
"related": [
"USN-6885-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-39884"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.