CVE-2024-40725
MEDIUM5.3EPSS 25.1%Apache HTTP Server: source code disclosure with handlers configured via AddType
Published: 7/18/2024Modified: 4/28/2026
Description
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. "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.62, which fixes this issue.
Affected packages (3)
- Alpine/apache2from 0, < 2.4.62-r0
- Bitnami/apache>= 2.4.60, < 2.4.62
- Debian/apache2from 0, < 2.4.62-1~deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |