CVE-2024-38475
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
02 Description
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
03 Exploitation and scoring
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2025-05-01. Federal remediation due 2025-05-22.
- SSVC decision
- ExploitationactiveCISA reports credible evidence of active exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 99.95% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
- NVD base score
- 9.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-07-01 18:15Z2 YR AGO
- Last updated
- 2025-11-03 21:55Z11 MO AGO
- Reserved
- 2024-06-17
- Assigning CNA
- apache
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-116Improper Encoding or Escaping of OutputClass
- Data version
- 5.2
- Document digest
- 4994ff404bee266064fe8ffad40b894768c88393221ee13dd66cdf356c7d7767
05 Affected products
06 References
- httpd.apache.orghttps://httpd.apache.org/security/vulnerabilities_24.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20240712-0001/
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475
- www.blackhat.comhttps://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227
- github.comhttps://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/01/8
- psirt.global.sonicwall.comhttps://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018
07 Fixed in
AlmaLinux 8
- httpd Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-devel Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-filesystem Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-manual Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-tools Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_http2 Fixed in 1.15.7-10.module_el8.10.0+3832+564e7653
- mod_ldap Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_md Fixed
A version is affected if any line below covers it.
- Affected before 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa
- Affected before 1:2.0.8-8.module_el8.6.0+3031+fb177b09
- mod_proxy_html Fixed in 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_session Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_ssl Fixed in 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- httpd Fixed in 2.4.57-11.el9_4
- httpd-core Fixed in 2.4.57-11.el9_4
- httpd-devel Fixed in 2.4.57-11.el9_4
- httpd-filesystem Fixed in 2.4.57-11.el9_4
- httpd-manual Fixed in 2.4.57-11.el9_4
- httpd-tools Fixed in 2.4.57-11.el9_4
- mod_ldap Fixed in 2.4.57-11.el9_4
- mod_lua Fixed in 2.4.57-11.el9_4
- mod_proxy_html Fixed in 1:2.4.57-11.el9_4
- mod_session Fixed in 2.4.57-11.el9_4
- mod_ssl Fixed in 1:2.4.57-11.el9_4
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- httpd Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-devel Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-filesystem Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-manual Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- httpd-tools Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_http2 Fixed in 1.15.7-10.module_el8.10.0+3832+564e7653
- mod_ldap Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_md Fixed
A version is affected if any line below covers it.
- Affected before 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa
- Affected before 1:2.0.8-8.module_el8.6.0+3031+fb177b09
- mod_proxy_html Fixed in 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_session Fixed in 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- mod_ssl Fixed in 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- httpd Fixed in 2.4.57-11.el9_4
- httpd-core Fixed in 2.4.57-11.el9_4
- httpd-devel Fixed in 2.4.57-11.el9_4
- httpd-filesystem Fixed in 2.4.57-11.el9_4
- httpd-manual Fixed in 2.4.57-11.el9_4
- httpd-tools Fixed in 2.4.57-11.el9_4
- mod_ldap Fixed in 2.4.57-11.el9_4
- mod_lua Fixed in 2.4.57-11.el9_4
- mod_proxy_html Fixed in 1:2.4.57-11.el9_4
- mod_session Fixed in 2.4.57-11.el9_4
- mod_ssl Fixed in 1:2.4.57-11.el9_4
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- apache2 Fixed in 2.4.61-1~deb12u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- apache2 Fixed in 2.4.60-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- apache2 Fixed in 2.4.60-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- apache2 Fixed in 2.4.41-4ubuntu3.19
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- apache2 Fixed in 2.4.52-1ubuntu4.10
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- apache2 Fixed in 2.4.58-1ubuntu8.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- apache2 Fixed in 2.4.7-1ubuntu4.22+esm10Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- apache2 Fixed in 2.4.18-2ubuntu3.17+esm13Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- apache2 Fixed in 2.4.29-1ubuntu4.27+esm3Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.