Skip to main content
CVE-2024-38475VulnerabilityPublished Updated

Apache2: Improper escaping of output

Affects Apache apache2Source GCVE Database

0
Compare
Authoritative record:CVE-2024-38475· Critical 9.1

Exploited in the wild · KEV due 22 May 2025 · public detection template (Nuclei) · 99% EPSS · fixed in 2.4.7-1ubuntu4.22+esm10 : patch Apache apache2 now.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.19.1
KEV deadline
 US federal agencies must patch by this date; a sensible deadline for everyone else. Other KEV due dates
EPSS
99.9% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.4.7-1ubuntu4.22+esm10, 2.4.18-2ubuntu3.17+esm13, 2.4.29-1ubuntu4.27+esm3 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 1 Jul 2024

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: evidence found.

    Listed in CISA KEV 304 days after disclosure

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by Apache Software Foundation

    , 14 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. , 304 days after disclosure

  4. KEV remediation due

    US federal deadline

    , 325 days after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA KEV (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=nobleOther threatsAffected
  • <2.4.58-1ubuntu8.2
Fixed in
  • 2.4.58-1ubuntu8.2
Ubuntu 22.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=jammyOther threatsAffected
  • <2.4.52-1ubuntu4.10
Fixed in
  • 2.4.52-1ubuntu4.10
Ubuntu 20.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=focalOther threatsAffected
  • <2.4.41-4ubuntu3.19
Fixed in
  • 2.4.41-4ubuntu3.19
Ubuntu Pro 18.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.4.29-1ubuntu4.27+esm3
Fixed in
  • 2.4.29-1ubuntu4.27+esm3
Ubuntu Pro 16.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2.4.18-2ubuntu3.17+esm13
Fixed in
  • 2.4.18-2ubuntu3.17+esm13
Ubuntu Pro 14.04 LTSapache2pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • <2.4.7-1ubuntu4.22+esm10
Fixed in
  • 2.4.7-1ubuntu4.22+esm10

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…