Unrated severityCISA KEVNVD Advisory· Published Jul 1, 2024· Updated Nov 3, 2025
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
CVE-2024-38475
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
55<=2.4.59+ 1 more
- (no CPE)range: <=2.4.59
- (no CPE)range: 2.4.0
- osv-coords53 versionspkg:bitnami/apachepkg:rpm/almalinux/httpdpkg:rpm/almalinux/httpd-corepkg:rpm/almalinux/httpd-develpkg:rpm/almalinux/httpd-filesystempkg:rpm/almalinux/httpd-manualpkg:rpm/almalinux/httpd-toolspkg:rpm/almalinux/mod_http2pkg:rpm/almalinux/mod_ldappkg:rpm/almalinux/mod_luapkg:rpm/almalinux/mod_mdpkg:rpm/almalinux/mod_proxy_htmlpkg:rpm/almalinux/mod_sessionpkg:rpm/almalinux/mod_sslpkg:rpm/opensuse/apache2-devel&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/apache2&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/apache2&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/apache2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/apache2-event&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/apache2-manual&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/apache2-prefork&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/apache2-utils&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/apache2-worker&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/apache2-devel&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6pkg:rpm/suse/apache2&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/apache2&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/apache2&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/apache2&distro=SUSE%20Manager%20Server%204.3pkg:rpm/suse/apache2-event&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/apache2-prefork&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/apache2-tls13&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/apache2-tls13&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/apache2-tls13&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/apache2-utils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6pkg:rpm/suse/apache2-worker&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6
>= 2.4.0, < 2.4.60+ 52 more
- (no CPE)range: >= 2.4.0, < 2.4.60
- (no CPE)range: < 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 2.4.57-11.el9_4
- (no CPE)range: < 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 1.15.7-10.module_el8.10.0+3832+564e7653
- (no CPE)range: < 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 2.4.57-11.el9_4
- (no CPE)range: < 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa
- (no CPE)range: < 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.61-1.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.51-150200.3.70.1
- (no CPE)range: < 2.4.51-150200.3.70.1
- (no CPE)range: < 2.4.51-150200.3.70.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.51-35.51.1
- (no CPE)range: < 2.4.51-150200.3.70.1
- (no CPE)range: < 2.4.51-150200.3.70.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.51-35.51.1
- (no CPE)range: < 2.4.51-150200.3.70.1
- (no CPE)range: < 2.4.51-150200.3.70.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.51-35.51.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.51-150400.6.29.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.51-35.51.1
- (no CPE)range: < 2.4.51-35.51.1
- (no CPE)range: < 2.4.51-35.51.1
- (no CPE)range: < 2.4.58-150600.5.18.1
- (no CPE)range: < 2.4.58-150600.5.18.1
Patches
Vulnerability mechanics
References
2- httpd.apache.org/security/vulnerabilities_24.htmlmitrevendor-advisory
- security.netapp.com/advisory/ntap-20240712-0001/mitre
News mentions
0No linked articles in our index yet.