CVE-2024-38475
Exploitation confirmed. First attested on 2025-05-01 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.
- Published2024-07-01
- Fixed in2.4.60
- WeaknessCWE-116
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCVersions per branch
NVD · OSV · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.4 | ≥ 2.4.0, < 2.4.60 | 2.4.60 | NVD · OSV |
| 2.4 | ≥ 2.4.0, ≤ 2.4.59 | no fix published | CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD · CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.2 | < 10.2.1.14-75sv | 10.2.1.14-75sv | NVD |
4 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache HTTP Serverother versions: not affectedAffected
- ≥ 2.4.0, ≤ 2.4.59no fix statedsemver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-07-12
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apacheMageia:9all versions · fixed in 2.4.61-1.mga9
- apache2Ubuntu:Pro:18.04:LTSall versions · fixed in 2.4.29-1ubuntu4.27+esm3
- apache2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.4.18-2ubuntu3.17+esm13
- apache2Ubuntu:Pro:14.04:LTSall versions · fixed in 2.4.7-1ubuntu4.22+esm10
- apache2Ubuntu:24.04:LTSall versions · fixed in 2.4.58-1ubuntu8.2
- apache2Ubuntu:22.04:LTSall versions · fixed in 2.4.52-1ubuntu4.10
- apache2Ubuntu:20.04:LTSall versions · fixed in 2.4.41-4ubuntu3.19
- apache2TuxCare:Ubuntu:18.04all versions · fixed in 2.4.29-1ubuntu4.27+tuxcare.els2and 8 other packages
142 more package ranges on OSV.dev
Vendor advisories
httpd: Improper escaping of output in mod_rewrite
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.57 SP5 security update
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.57 SP5 security update
Red Hat Security Advisory: httpd security update
Red Hat Security Advisory: httpd security update
Red Hat Security Advisory: httpd security update
7 more advisories
Fix
- Update Apache HTTP Server to 2.4.60
- CISA’s 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.due 2025-05-22
- Vendor fix Red Hat Product Security RHSA-2024:5239 · 57 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:5240 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link. You must be logged in to download the update.
- Vendor fix Red Hat Product Security RHSA-2024:4943 · 38 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:4726 · 75 productsFor details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:5239 · 57 productsRed Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
Advisories and patches
- httpd.apache.orgVendor Advisory
- github.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub6 repositories, unverifiedknown since 2026-11-01p0in7s/CVE-2024-38475soltanali0/CVE-2024-38475abrewer251/CVE-2024-38475_SonicBoom_Apache_URL_Traversal_PoCsyaifulandy/CVE-2024-38475Nyakki-Labs-0x420/Myesve
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date added
- 2025-05-01
- Patch due date
- 2025-05-22
- Ransomware use
- Unknown
- 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.
Sources
- CISA KEVKEV entry2025-05-01
- ENISA EUVDexploitation2025-05-012025-05-01
- GCVEexploitation2025-05-01
- CISA-ADPSSVC decisionactive2025-05-02
- CISA-ADPCVSS 3.19.12024-07-05
- NVDCVSS 3.19.1read 2026-10-23
- CNAweakness (CWE)CWE-116known since 2026-10-23
- FIRST EPSSEPSS score99.9 %read 2026-11-21
- PoC-in-GitHubproof of concept6known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-21
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-apache-2024-38475same flawBitnami · Apache-2.0
- EUVD-2024-37356same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-pf44-j75v-mhr8same flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2024:4720advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:4726advisory covering several CVEsAlmaLinux · MIT
- DSA-5729-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0258advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-1830advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:14116-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:4719advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4720advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4726advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4820advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4827advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4830advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4862advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4863advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4938advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:4943advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:5239advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2024:4720advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:4726advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2024:2436-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2591-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2597-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:2624-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:2686-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6885-1advisory covering several CVEsUbuntu
- USN-6885-3advisory covering several CVEsUbuntu
- USN-6885-5advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Published
- 2024-07-01
- Last modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub advisory
- GHSA-pf44-j75v-mhr8
Frequently asked questions
What is CVE-2024-38475?
Is CVE-2024-38475 actively exploited?
What is the CVSS score for CVE-2024-38475?
Running Apache HTTP Server? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-pf44-j75v-mhr8
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0