Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Apache2: A partial fix for CVE-2024-39884 in the core of Apache HTTP Server 2.4.61 ignores some use of the legacy content-type based configuration of handlers.

0
High
Published: 07/17/2024 (07/17/2024, 00:00:00 UTC)
Source: GCVE Database
Product: apache2

Description

A partial fix for CVE-2024-39884 in Apache HTTP Server 2.4.61 fails to fully address the issue with legacy content-type based handler configurations such as "AddType". Under certain conditions, this can cause source code disclosure of local content, for example serving PHP scripts as plain text instead of interpreting them. The issue is fixed in Apache HTTP Server version 2.4.62. Users are advised to upgrade to this version to resolve the vulnerability.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
apache2
pkg:deb/ubuntu/[email protected]+esm15?arch=source&distro=esm-infra-legacy/trusty
Affected 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
Ubuntu:20.04:LTSmore threats →ghsa
apache2
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
<2.4.41-4ubuntu3.21=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=2.4.41-4ubuntu3.19=2.4.41-4ubuntu3.20
Ubuntu:22.04:LTSmore threats →ghsa
apache2
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
<2.4.52-1ubuntu4.12=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=2.4.52-1ubuntu4.10=2.4.52-1ubuntu4.11
Ubuntu:24.04:LTSmore threats →ghsa
apache2
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
<2.4.58-1ubuntu8.4=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=2.4.58-1ubuntu8.2=2.4.58-1ubuntu8.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 00:23:18 UTC

Technical Analysis

The vulnerability involves incomplete remediation of CVE-2024-39884 in Apache HTTP Server 2.4.61, where legacy content-type based configuration directives like "AddType" can cause source code disclosure when files are requested indirectly. This means that instead of executing scripts such as PHP, the server may serve the raw source code to clients. The issue affects multiple Ubuntu-packaged versions of Apache HTTP Server prior to 2.4.62. Upgrading to version 2.4.62 addresses this vulnerability.

Potential Impact

The vulnerability can lead to local source code disclosure, exposing potentially sensitive information contained within server-side scripts. This exposure does not affect integrity or availability but compromises confidentiality by revealing source code that should remain private.

Mitigation Recommendations

An official fix is available in Apache HTTP Server version 2.4.62. Users should upgrade to this version to fully remediate the vulnerability. Until upgraded, the partial fix in 2.4.61 does not fully prevent source code disclosure when using legacy content-type based handler configurations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2024-40725
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a6151299c2644c7f8da6db8

Added to database: 07/22/2026, 23:24:25 UTC

Last enriched: 07/23/2026, 00:23:18 UTC

Last updated: 07/27/2026, 11:08:47 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses