CVE-2024-38475

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 arepermitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. 

Substitutions inserver 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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.1 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
apacheCNA
---
---
CISA-ADPADP
9.1 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
VendorProductVersion
apachehttp_server
2.4.0 ≤
𝑥
< 2.4.60
netappontap_9
-
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
apache2
bullseye
2.4.62-1~deb11u1
fixed
bullseye (security)
2.4.62-1~deb11u2
fixed
bookworm
2.4.62-1~deb12u2
fixed
bookworm (security)
2.4.62-1~deb12u2
fixed
sid
2.4.63-1
fixed
trixie
2.4.63-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
apache2
plucky
Fixed 2.4.62-1ubuntu1
released
oracular
Fixed 2.4.62-1ubuntu1
released
noble
Fixed 2.4.58-1ubuntu8.2
released
mantic
Fixed 2.4.57-2ubuntu2.5
released
jammy
Fixed 2.4.52-1ubuntu4.10
released
focal
Fixed 2.4.41-4ubuntu3.19
released
bionic
Fixed 2.4.29-1ubuntu4.27+esm3
released
xenial
Fixed 2.4.18-2ubuntu3.17+esm13
released
trusty
needs-triage