Security Resilience

CVE-2024-38475

Apache Http Server 2.4.0 – 2.4.60

CISA KEVActive ExploitationEUVD Exploited
Published
01 July 2024
Modified
17 November 2025
KEV Added
01 May 2025
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.99 100.0th percentile
Risk Priority 93 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-38475 is a critical-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Apache Http Server. Its CVSS base score is 9.1 (Critical).

Operationally, ranked in the top 0.0% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-38475 is an improper output escaping flaw in the mod_rewrite module of Apache HTTP Server 2.4.59 and earlier. It occurs when RewriteRule substitutions in server context use backreferences or variables as the first segment, allowing crafted URLs to resolve to filesystem paths that the server is permitted to serve but that were never intended to be directly addressable.

An unauthenticated remote attacker can send specially formed HTTP requests that exploit the mapping behavior to read arbitrary source files or execute code under the server's privileges, corresponding to the observed CVSS 9.1 rating.

Apache's security advisory and the associated patch (commit 9a6157d) recommend upgrading to a corrected release; administrators who must retain affected rules can apply the UnsafePrefixStat flag after verifying that substitutions are properly constrained. NetApp and oss-security postings reiterate the same upgrade guidance.

The EPSS score has remained near its peak value of 0.9394 since disclosure, indicating sustained exploitation interest without a pronounced post-release climb.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
01 May 2025

Related Threats

CVEs Like This One

CVE-2021-20038Related weaknessboth on KEV
CVE-2023-44221Related weaknessboth on KEV
CVE-2021-20035Related weaknessboth on KEV
CVE-2021-20016Related weaknessboth on KEV
CVE-2023-5970Related weakness
CVE-2024-40763Related weakness
CVE-2024-45318Related weakness
CVE-2024-53703Related weakness
CVE-2024-53702Related weakness
CVE-2024-45319Related weakness

Affected Assets

apache
http server
2.4.0 — 2.4.60
netapp
ontap 9
all versions
sonicwall
sma 200 firmware
≤ 10.2.1.14-75sv
sonicwall
sma 210 firmware
≤ 10.2.1.14-75sv
sonicwall
sma 400 firmware
≤ 10.2.1.14-75sv
sonicwall
sma 410 firmware
≤ 10.2.1.14-75sv
sonicwall
sma 500v firmware
≤ 10.2.1.14-75sv

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.

References