Apache · Apache HTTP Server · CWE-116 · published 2024-07-01
CVE-2024-38475Apache HTTP Server Improper Escaping of Output Vulnerability
Patch today Known exploited in an internet-facing edge product.
CVE-2024-38475 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-05-01. EPSS estimates a 100% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Apache HTTP Server vulnerability: CVSS 9.1 (v3.1), attacks can be automated, a successful attack gives total control of the component. Patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux. US federal agencies must remediate by 2025-05-22. Patch today.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. (federal due date 2025-05-22)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | apache2 | Fixed in 2.4.60-1 |
| 12 bookworm | apache2 | Fixed in 2.4.61-1~deb12u1 | |
| Ubuntu | 24.04 LTS | apache2 | Fixed in 2.4.58-1ubuntu8.2 |
| 22.04 LTS | apache2 | Fixed in 2.4.52-1ubuntu4.10 | |
| 20.04 LTS | apache2 | Fixed in 2.4.41-4ubuntu3.19 | |
| Red Hat Enterprise Linux | RHEL 10 | httpd | Not affected |
| RHEL 9 | httpd | Fixed in 2.4.57-11.el9_4 RHSA-2024:4726 | |
| RHEL 6 | httpd | Not affected |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Web serverApache HTTP Server
Improper Escaping of OutputCVE-2024-38475
Why: Known exploited in an internet-facing edge product.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2025-05-01 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 100% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.1 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-116: Improper Encoding or Escaping of Output
More from this vendor: all Apache vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Apache Software Foundation Apache HTTP Server
2.4.0through2.4.59(affected)
Description (from the CVE record)#
Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.
Quoted from the CVE Program record.