CVE-2024-38475: Apache HTTP Server Improper Escaping of Output Vulnerability

CVE-2024-38475 · Severity: critical · CVSS 9.1 · Exploited in the wild · Published 2025-05-01

Apache HTTP Server's mod_rewrite contains an improper escaping vulnerability when substitutions in server context use backreferences or variables as the first segment. This allows an attacker to map URLs to unauthorized filesystem locations, potentially leading to remote code execution or source code disclosure.

Technologies: Apache HTTP Server. Vendors: Apache.

Quick answers

Is CVE-2024-38475 exploited in the wild?
Yes. CVE-2024-38475 is known to be exploited in the wild, first recorded on 1 May 2025. Treat it as urgent.
How severe is CVE-2024-38475?
Critical severity, with a CVSS score of 9.1, published 1 May 2025.
Which products and versions are affected?
Apache HTTP Server 2.4.0 to 2.4.59 (up to and including 2.4.59); SonicWall SMA 200 Firmware up to (excluding) 10.2.1.14-75sv; SonicWall SMA 210 Firmware up to (excluding) 10.2.1.14-75sv; SonicWall SMA 400 Firmware up to (excluding) 10.2.1.14-75sv; and 3 more.
Is there a fix for CVE-2024-38475?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2024-38475 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2024-38475?
Check whether you run Apache HTTP Server. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • Apache HTTP Server 2.4.0 to 2.4.59 (up to and including 2.4.59)
  • SonicWall SMA 200 Firmware up to (excluding) 10.2.1.14-75sv
  • SonicWall SMA 210 Firmware up to (excluding) 10.2.1.14-75sv
  • SonicWall SMA 400 Firmware up to (excluding) 10.2.1.14-75sv
  • SonicWall SMA 410 Firmware up to (excluding) 10.2.1.14-75sv
  • SonicWall SMA 500v Firmware up to (excluding) 10.2.1.14-75sv
  • NetApp ONTAP 9

Timeline

  • 2024-07-01: disclosed: Public disclosure via oss-security mailing list
  • 2025-05-01: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
  • 2025-05-01: advisory: NVD publication date
  • 2025-05-22: other: CISA KEV remediation due date

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.