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.

Share this

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.

DistroReleasePackageStatus
Debian13 trixieapache2Fixed in 2.4.60-1
12 bookwormapache2Fixed in 2.4.61-1~deb12u1
Ubuntu24.04 LTSapache2Fixed in 2.4.58-1ubuntu8.2
22.04 LTSapache2Fixed in 2.4.52-1ubuntu4.10
20.04 LTSapache2Fixed in 2.4.41-4ubuntu3.19
Red Hat Enterprise LinuxRHEL 10httpdNot affected
RHEL 9httpdFixed in 2.4.57-11.el9_4 RHSA-2024:4726
RHEL 6httpdNot 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

  1. Patch todayExploited (KEV)CISA due 2025-05-22

    Web serverApache HTTP Server

    Improper Escaping of OutputCVE-2024-38475

    Why: Known exploited in an internet-facing edge product.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2025-05-01CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)100% (100th pct)FIRST EPSS v2026.06.15
CVSS base score9.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 exploitationactiveCISA Vulnrichment
SSVC automatableYesCISA Vulnrichment
SSVC technical impacttotalCISA 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)#

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.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →