Vulnerability · Published Jul 4, 2024 · Assigned by apache
CVE-2024-39884Apache HTTP Server: source code disclosure with handlers configured via AddType
Medium 6.2
In plain English
A medium-severity security flaw in Apache HTTP Server from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | apache2 | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine:v3.21 | apache2 | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine:v3.22 | apache2 | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine:v3.23 | apache2 | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Alpine:v3.24 | apache2 | 2.4.61-r0 | ALPINE-CVE-2024-39884 |
| Debian:13 | apache2 | 2.4.61-1 | DEBIAN-CVE-2024-39884 |
| Debian:14 | apache2 | 2.4.61-1 | DEBIAN-CVE-2024-39884 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.10 | USN-6885-1 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.10 | UBUNTU-CVE-2024-39884 |
| Ubuntu:24.04:LTS | apache2 | 2.4.58-1ubuntu8.2 | UBUNTU-CVE-2024-39884 |
| Ubuntu:24.04:LTS | apache2 | 2.4.58-1ubuntu8.2 | USN-6885-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache HTTP Server | 2.4.60 |