CVE-2024-38475 kev in the critical feed json
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
published 2024-07-01 2 y ago modified 2026-09-08 2 mo ago also BIT-apache-2024-38475 , EUVD-2024-37356
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Exploited
- added 2025-05-01
- epss
- 100.0%
- EPSS 100.0% chance of exploitation in 30 days, percentile 99.9%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
cisa 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.
- bitnami apache 2.4.60
- apache http_server 2.4.60
- apache2 Debian 12 2.4.61-1~deb12u1
- apache2 Debian 14, Debian 13 2.4.60-1
debian advisories DEBIAN-CVE-2024-38475
- apache2 Ubuntu 20.04 LTS 2.4.41-4ubuntu3.19
- apache2 Ubuntu 22.04 LTS 2.4.52-1ubuntu4.10
- apache2 Ubuntu 24.04 LTS 2.4.58-1ubuntu8.2
- apache2 Ubuntu Pro 14.04 LTS 2.4.7-1ubuntu4.22+esm10
- apache2 Ubuntu Pro 16.04 LTS 2.4.18-2ubuntu3.17+esm13
- apache2 Ubuntu Pro 18.04 LTS 2.4.29-1ubuntu4.27+esm3
ubuntu advisories UBUNTU-CVE-2024-38475
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jbcs-httpd24-httpd jboss core services 1 2.4.57-13.el7jbcs
- jbcs-httpd24-httpd jboss core services 1 2.4.57-13.el8jbcs
- jbcs-httpd24-mod_jk jboss core services 1 1.2.49-11.redhat_1.el7jbcs
- jbcs-httpd24-mod_jk jboss core services 1 1.2.49-11.redhat_1.el8jbcs
- jbcs-httpd24-mod_md jboss core services 1 1:2.4.24-11.el7jbcs
- jbcs-httpd24-mod_md jboss core services 1 1:2.4.24-11.el8jbcs
- jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.57-13.el7jbcs
- jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.57-13.el8jbcs
red hat advisories RHSA-2024:5239RHSA-2024:4938RHSA-2024:4943RHSA-2024:4863RHSA-2024:4719RHSA-2024:4862
- apache2 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 2.4.66-150400.6.57.1
- apache2 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Server Applications 15 SP6 +8 more 2.4.51-150400.6.29.1
- apache2 SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.18.1
- apache2-event SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.18.1
- apache2-utils SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.18.1
- apache2-manual openSUSE Leap 15.6 2.4.58-150600.5.18.1
- apache2-worker SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.18.1
- apache2-prefork SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.4.58-150600.5.18.1
suse advisories SUSE-SU-2026:2686-1SUSE-SU-2024:2624-1SUSE-SU-2024:2597-1SUSE-SU-2024:2591-1SUSE-SU-2024:2436-1
- apache2 openSUSE Tumbleweed 2.4.61-1.1
opensuse advisories openSUSE-SU-2024:14116-1
- httpd AlmaLinux 8 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_md AlmaLinux 8 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa
- mod_md AlmaLinux 8 1:2.0.8-8.module_el8.6.0+3031+fb177b09
- mod_ssl AlmaLinux 8 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_ldap AlmaLinux 8 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_http2 AlmaLinux 8 1.15.7-10.module_el8.10.0+3832+564e7653
- httpd-tools AlmaLinux 8 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_session AlmaLinux 8 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
almalinux advisories ALSA-2024:4720ALSA-2024:4726
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1830+22f0c9e0
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1840+b070a976.1
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1842+4a9649e8.2
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1938+3b7755d4.3
- mod_md Rocky Linux 8 1:2.0.8-8.module+el8.9.0+1370+89cc8ad5
- mod_http2 Rocky Linux 8 1.15.7-10.module+el8.10.0+1775+6b057638
- mod_http2 Rocky Linux 8 1.15.7-10.module+el8.10.0+1830+22f0c9e0
- mod_http2 Rocky Linux 8 1.15.7-10.module+el8.10.0+1883+38ed6c58.1
rocky linux advisories RLSA-2024:4720RLSA-2024:4726
- apache2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 2.4.60-r0
alpine advisories ALPINE-CVE-2024-38475
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-38475 updated cvss 9.1
httpd: Improper escaping of output in mod_rewrite
-
Red Hat Enterprise Linux AppStream (v. 8) mod_md 2.0.8-8.module+el8.9.0+19080+567b90f8, httpd 2.4.37-65.module+el8.10.0+22069+b47f5c72.1, mod_http2 1.15.7-10.module+el8.10.0+21653+eaff63f0, mod_ssl 2.4.37-65.module+el8.10.0+22069+b47f5c72.1, mod_ldap 2.4.37-65.module+el8.10.0+22069+b47f5c72.1, httpd-tools 2.4.37-65.module+el8.10.0+22069+b47f5c72.1, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4720
-
Red Hat Enterprise Linux AppStream (v. 9) httpd 2.4.57-11.el9_4, mod_lua 2.4.57-11.el9_4, mod_ssl 2.4.57-11.el9_4, mod_ldap 2.4.57-11.el9_4, httpd-core 2.4.57-11.el9_4, httpd-tools 2.4.57-11.el9_4, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4726
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) mod_md 2.0.8-7.module+el8.2.0+5531+7e4d69a2, httpd 2.4.37-21.module+el8.2.0+22128+68c62a5c.8, mod_ssl 2.4.37-21.module+el8.2.0+22128+68c62a5c.8, mod_http2 1.11.3-3.module+el8.2.0+22123+cf5a147c.4, mod_ldap 2.4.37-21.module+el8.2.0+22128+68c62a5c.8, httpd-tools 2.4.37-21.module+el8.2.0+22128+68c62a5c.8, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4820
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) mod_md 2.0.8-8.module+el8.3.0+6814+67d1e611, httpd 2.4.37-39.module+el8.4.0+22127+467cc488.8, mod_ssl 2.4.37-39.module+el8.4.0+22127+467cc488.8, mod_http2 1.15.7-3.module+el8.4.0+21747+916a74df.3, mod_ldap 2.4.37-39.module+el8.4.0+22127+467cc488.8, httpd-tools 2.4.37-39.module+el8.4.0+22127+467cc488.8, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4830
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) mod_md 2.0.8-8.module+el8.3.0+6814+67d1e611, httpd 2.4.37-47.module+el8.6.0+22124+21ed7001.9, mod_ssl 2.4.37-47.module+el8.6.0+22124+21ed7001.9, mod_http2 1.15.7-5.module+el8.6.0+21746+f601aac0.3, mod_ldap 2.4.37-47.module+el8.6.0+22124+21ed7001.9, httpd-tools 2.4.37-47.module+el8.6.0+22124+21ed7001.9, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4827
-
Red Hat Enterprise Linux AppStream E4S (v.8.4) mod_md 2.0.8-8.module+el8.3.0+6814+67d1e611, httpd 2.4.37-39.module+el8.4.0+22127+467cc488.8, mod_ssl 2.4.37-39.module+el8.4.0+22127+467cc488.8, mod_http2 1.15.7-3.module+el8.4.0+21747+916a74df.3, mod_ldap 2.4.37-39.module+el8.4.0+22127+467cc488.8, httpd-tools 2.4.37-39.module+el8.4.0+22127+467cc488.8, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4830
-
Red Hat Enterprise Linux AppStream E4S (v.8.6) mod_md 2.0.8-8.module+el8.3.0+6814+67d1e611, httpd 2.4.37-47.module+el8.6.0+22124+21ed7001.9, mod_ssl 2.4.37-47.module+el8.6.0+22124+21ed7001.9, mod_http2 1.15.7-5.module+el8.6.0+21746+f601aac0.3, mod_ldap 2.4.37-47.module+el8.6.0+22124+21ed7001.9, httpd-tools 2.4.37-47.module+el8.6.0+22124+21ed7001.9, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4827
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) httpd 2.4.51-7.el9_0.7, mod_lua 2.4.51-7.el9_0.7, mod_ssl 2.4.51-7.el9_0.7, mod_ldap 2.4.51-7.el9_0.7, httpd-tools 2.4.51-7.el9_0.7, mod_session 2.4.51-7.el9_0.7, +3 morefixed: vendor fix “Red 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.” RHSA-2024:4863
show 11 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) mod_md 2.0.8-8.module+el8.3.0+6814+67d1e611, httpd 2.4.37-56.module+el8.8.0+22079+e03f6970.8, mod_ssl 2.4.37-56.module+el8.8.0+22079+e03f6970.8, mod_http2 1.15.7-8.module+el8.8.0+21773+20528f83.5, mod_ldap 2.4.37-56.module+el8.8.0+22079+e03f6970.8, httpd-tools 2.4.37-56.module+el8.8.0+22079+e03f6970.8, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4719
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) httpd 2.4.53-11.el9_2.8, mod_lua 2.4.53-11.el9_2.8, mod_ssl 2.4.53-11.el9_2.8, mod_ldap 2.4.53-11.el9_2.8, httpd-core 2.4.53-11.el9_2.8, httpd-tools 2.4.53-11.el9_2.8, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4862
-
Red Hat Enterprise Linux AppStream TUS (v.8.4) mod_md 2.0.8-8.module+el8.3.0+6814+67d1e611, httpd 2.4.37-39.module+el8.4.0+22127+467cc488.8, mod_ssl 2.4.37-39.module+el8.4.0+22127+467cc488.8, mod_http2 1.15.7-3.module+el8.4.0+21747+916a74df.3, mod_ldap 2.4.37-39.module+el8.4.0+22127+467cc488.8, httpd-tools 2.4.37-39.module+el8.4.0+22127+467cc488.8, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4830
-
Red Hat Enterprise Linux AppStream TUS (v.8.6) mod_md 2.0.8-8.module+el8.3.0+6814+67d1e611, httpd 2.4.37-47.module+el8.6.0+22124+21ed7001.9, mod_ssl 2.4.37-47.module+el8.6.0+22124+21ed7001.9, mod_http2 1.15.7-5.module+el8.6.0+21746+f601aac0.3, mod_ldap 2.4.37-47.module+el8.6.0+22124+21ed7001.9, httpd-tools 2.4.37-47.module+el8.6.0+22124+21ed7001.9, +4 morefixed: vendor fix “Red 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.” RHSA-2024:4827
-
Red Hat Enterprise Linux Server (v. 7 ELS) httpd 2.4.6-99.el7_9.2, mod_ssl 2.4.6-99.el7_9.2, httpd-tools 2.4.6-99.el7_9.2, mod_session 2.4.6-99.el7_9.2, httpd-manual 2.4.6-99.el7_9.2fixed: vendor fix “Red 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.” RHSA-2024:4943
-
Red Hat Enterprise Linux Server AUS (v. 7.7) httpd 2.4.6-90.el7_7.4, mod_ssl 2.4.6-90.el7_7.4, httpd-tools 2.4.6-90.el7_7.4, mod_session 2.4.6-90.el7_7.4, httpd-manual 2.4.6-90.el7_7.4fixed: vendor fix “Red 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.” RHSA-2024:4938
-
Red Hat Enterprise Linux Server Optional (v. 7 ELS) mod_ldap 2.4.6-99.el7_9.2, mod_proxy_html 2.4.6-99.el7_9.2fixed: vendor fix “Red 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.” RHSA-2024:4943
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.7) mod_ldap 2.4.6-90.el7_7.4, mod_proxy_html 2.4.6-90.el7_7.4fixed: vendor fix “Red 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.” RHSA-2024:4938
-
Red Hat JBoss Core Servicesfixed: vendor fix “Red 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.” RHSA-2024:5240
-
Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-httpd 2.4.57-13.el7jbcs, jbcs-httpd24-mod_md 2.4.24-11.el7jbcs, jbcs-httpd24-mod_ssl 2.4.57-13.el7jbcs, jbcs-httpd24-mod_ldap 2.4.57-13.el7jbcs, jbcs-httpd24-mod_http2 1.15.19-41.el7jbcs, jbcs-httpd24-httpd-tools 2.4.57-13.el7jbcs, +8 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-httpd 2.4.57-13.el8jbcs, jbcs-httpd24-mod_md 2.4.24-11.el8jbcs, jbcs-httpd24-mod_ssl 2.4.57-13.el8jbcs, jbcs-httpd24-mod_ldap 2.4.57-13.el8jbcs, jbcs-httpd24-mod_http2 1.15.19-41.el8jbcs, jbcs-httpd24-httpd-tools 2.4.57-13.el8jbcs, +8 morefixed: vendor fix “Red 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.” RHSA-2024:5239
-
Red Hat Enterprise Linux 6 httpd, mod_ssl, httpd-tools, httpd-manual Red Hat Enterprise Linux 10 httpdnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- Added to CISA KEV
- CISA SSVC: exploitation active
- CISA patch deadline
Known exploited
- Added
- 18 mo ago
- Patch by
- 2025-05-22 (17 mo ago)
- Ransomware
- Not known
- 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.
- Vendor, product
- Apache, HTTP Server
- CISA name
- Apache HTTP Server Improper Escaping of Output Vulnerability
ATT&CK techniques
How it is exploited and what it leads to, in MITRE ATT&CK terms.
- T1190 Exploit Public-Facing Application exploitation
- T1005 Data from Local System primary impact
- T1059 Command and Scripting Interpreter primary impact
- T1528 Steal Application Access Token primary impact
kev release 2025-07-28, att&ck v16.1. KEV to ATT&CK mappings by the MITRE Center for Threat-Informed Defense (Mappings Explorer, Apache-2.0). © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Terms of use
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
99.96% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Sonicwall - Pre-Authentication Arbitrary File Read nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | apache | >=2.4.0, <2.4.60 |
2.4.60 |
Affected products
- Apache Software Foundation Apache HTTP Server
- apache http_server
- netapp ontap_9
Classification
- Weakness
-
- CWE-116 Improper Encoding or Escaping of Output
- Technology feeds
References
-
github.com
/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
patch
-
httpd.apache.org
/security/vulnerabilities_24.html
vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20240712-0001/
third-party-advisory, advisory
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475
government-resource, third-party-advisory, us-government-resource, advisory
-
blackhat.com
/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-ser
third-party-advisory, advisory
-
openwall.com
/lists/oss-security/2024/07/01/8
third-party-advisory, advisory
-
psirt.global.sonicwall.com
/vuln-detail/SNWLID-2024-0018
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-38475
web
Sources
- CVE List CVE-2024-38475
- NVD CVE-2024-38475
- OSV BIT-apache-2024-38475
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.