CVE-2024-38475
9.1, critical Known exploitedApache HTTP Server Improper Escaping of Output Vulnerability
- CVSS
- 9.1, critical critical CVSS v3.1
- EPSS, next 30 days
- 100% higher than 99.9% of scored CVEs
- Exploitation
- Confirmed in the wild
- Published
- 1 Jul 20242 years ago
Known exploited
CISA added this to the Known Exploited Vulnerabilities Catalog on 1 May 2025. US federal agencies had to remediate by 22 May 2025, a deadline that has passed.
Required action. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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.
Details
- Vendor
- Apache and 2 more
- Product
- Apache HTTP Server
- Weakness
- CWE-116 (opens in a new tab)
- Status
- Analyzed
- Updated
- 17 Jun 2026
- Assigner
- security@apache.org
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References 7
Patches and fixes 1
Advisories 6
- openwall.com /lists/oss-security/2024/07/01/8 (opens in a new tab)
- httpd.apache.org /security/vulnerabilities_24.html (opens in a new tab)
- psirt.global.sonicwall.com /vuln-detail/SNWLID-2024-0018 (opens in a new tab)
- security.netapp.com /advisory/ntap-20240712-0001/ (opens in a new tab)
- blackhat.com /us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227 (opens in a new tab)
- cisa.gov /known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475 (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Apache CVEs
Every Apache CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-34486 Apache Tomcat Missing Encryption of Sensitive Data Vulnerability KEV EPSS 7% 7.5, high
- CVE-2026-34197 Apache ActiveMQ Improper Input Validation Vulnerability KEV EPSS 15% 8.8, high
- CVE-2025-24813 Apache Tomcat Path Equivalence Vulnerability KEV EPSS 100% 9.8, critical
- CVE-2024-45195 Apache OFBiz Forced Browsing Vulnerability KEV EPSS 100% 7.5, high
- CVE-2024-38856 Apache OFBiz Incorrect Authorization Vulnerability KEV EPSS 99% 9.8, critical
- CVE-2024-32113 Apache OFBiz Path Traversal Vulnerability KEV EPSS 100% 9.8, critical
- CVE-2024-27348 Apache HugeGraph-Server Improper Access Control Vulnerability KEV EPSS 99% 9.8, critical
- CVE-2023-46604 Apache ActiveMQ Deserialization of Untrusted Data Vulnerability KEV EPSS 100% 9.8, critical
Beyond this page
Is CVE-2024-38475 in your network?
This page tells you how dangerous CVE-2024-38475 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
CVE-2024-38475 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2024-38475 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.