VDB

ALPINE-CVE-2024-38475

ALPINE-CVE-2024-38475 PUBLISHED CVSS 9.100000381469727 CRITICAL

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.

Risk Scores

CVSS 3.1
9.100000381469727
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected Products

VendorProductVersions
Alpine:v3.19apache22.4.20-r0, 2.4.23-r0, 2.4.20-r2
Alpine:v3.17apache22.2.22-r0, 2.2.21-r3, 2.2.21-r2
Alpine:v3.20apache20, 2.2.16-r0, 2.2.16-r2
Alpine:v3.23apache22.4.9-r1, 2.4.9-r0, 2.4.7-r0
Alpine:v3.18apache22.4.9-r1, 0, 2.2.16-r0
Alpine:v3.22apache22.4.48-r2, 2.4.49-r1, 2.4.50-r0
Alpine:v3.21apache22.4.48-r2, 0, 2.2.16-r0

Timeline

  • Jul 1, 2024 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›