CVE-2024-39884: Apache HTTP Server: source code disclosure with handlers configured via AddType
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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/apache2to a version that resolves this vulnerability.Fixed in 2.4.61-r0 - Upgrade
Upgrade
debian/apache2to a version that resolves this vulnerability.Fixed in 2.4.61-1 - Upgrade
Upgrade
debian/apache2to a version that resolves this vulnerability.Fixed in 2.4.68-1~deb12u1Fixed in 2.4.67-1~deb12u3Fixed in 2.4.68-1~deb13u1Fixed in 2.4.69-1~deb13u1Fixed in 2.4.69-1 - Upgrade
Upgrade
ubuntu/apache2to a version that resolves this vulnerability.Fixed in 2.4.41-4ubuntu3.19 - Upgrade
Upgrade
ubuntu/apache2to a version that resolves this vulnerability.Fixed in 2.4.52-1ubuntu4.10 - Upgrade
Upgrade
ubuntu/apache2to a version that resolves this vulnerability.Fixed in 2.4.58-1ubuntu8.2 - Upgrade
Upgrade
Apache HTTP Serverto a version that resolves this vulnerability.Fixed in 2.4.61
Event History
Frequently Asked Questions
What is the severity of CVE-2024-39884?
CVE-2024-39884 is considered a critical vulnerability due to the potential for source code disclosure.
How do I fix CVE-2024-39884?
To fix CVE-2024-39884, upgrade to Apache HTTP Server version 2.4.62 or later.
What versions of Apache are affected by CVE-2024-39884?
CVE-2024-39884 affects Apache HTTP Server versions prior to 2.4.62, including version 2.4.60.
What kind of disclosure is caused by CVE-2024-39884?
CVE-2024-39884 can lead to the unauthorized disclosure of local source code.
Is there a workaround for CVE-2024-39884?
There are no specific workarounds mentioned for CVE-2024-39884 other than upgrading to a fixed version.