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.
CVSS Details
- CVSS 3.1 Base Score: 9.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade mod_proxy_htmlUpgrade mod_luaUpgrade httpd-filesystemUpgrade httpd-develUpgrade httpdUpgrade httpd-toolsUpgrade httpd-manualUpgrade mod_ldapUpgrade mod_sslUpgrade mod_sessionUpgrade httpd-coreUpgrade mod_mdUpgrade mod_http2 | Jul 25, 2024 | Jul 1, 2024 |
| Alpine Linux | — | Upgrade apache2 | Aug 22, 2024 | Jul 1, 2024 |
| Amazon Linux Ami 2 | — | Upgrade httpd-toolsUpgrade mod_proxy_htmlUpgrade httpd-debuginfoUpgrade mod_sslUpgrade httpdUpgrade httpd-develUpgrade mod_mdUpgrade mod_ldapUpgrade httpd-filesystemUpgrade httpd-manualUpgrade mod_session | Jul 23, 2024 | Jul 1, 2024 |
| Amazon_linux | — | Upgrade httpd24 | Jul 25, 2024 | Jul 1, 2024 |
| Amazon_linux_2023 | — | Upgrade mod_lua-debuginfoUpgrade mod_sslUpgrade mod_proxy_html-debuginfoUpgrade mod_ldapUpgrade httpd-filesystemUpgrade mod_ldap-debuginfoUpgrade mod_session-debuginfoUpgrade httpd-debugsourceUpgrade httpd-manualUpgrade httpd-debuginfoUpgrade mod_sessionUpgrade httpd-coreUpgrade httpd-core-debuginfoUpgrade httpd-toolsUpgrade mod_ssl-debuginfoUpgrade httpd-develUpgrade mod_proxy_htmlUpgrade mod_luaUpgrade httpd-tools-debuginfoUpgrade httpd | Feb 17, 2025 | Jul 1, 2024 |
| Apache Httpd | — | Upgrade to the latest version of Apache HTTPD | Oct 14, 2024 | Jul 1, 2024 |
| Check Point Gaia | — | Upgrade to supported version Check Point Gaia. | Feb 25, 2026 | Dec 4, 2024 |
| Debian | — | Upgrade apache2 | Jul 15, 2024 | Jul 1, 2024 |
| F5 Big Ip | — | Update F5 BIG-IP to the latest version | Jun 17, 2026 | Aug 8, 2024 |
| Freebsd | — | Upgrade apache24 | Jul 2, 2024 | Jul 1, 2024 |
| Gentoo Linux | — | Upgrade www-servers/apache. | Sep 30, 2024 | Jul 1, 2024 |
| Huawei Euleros 2_0_sp10 | — | Upgrade mod_sslUpgrade httpd-filesystemUpgrade httpdUpgrade httpd-tools | Oct 8, 2024 | Jul 1, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade httpd-toolsUpgrade httpdUpgrade mod_sslUpgrade httpd-filesystem | Oct 9, 2024 | Jul 1, 2024 |
| Huawei Euleros 2_0_sp8 | — | Upgrade httpd-toolsUpgrade httpd-manualUpgrade httpdUpgrade mod_sessionUpgrade httpd-develUpgrade mod_sslUpgrade httpd-filesystem | Jan 21, 2025 | Jul 1, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade httpd-filesystemUpgrade mod_sslUpgrade httpdUpgrade httpd-tools | Oct 8, 2024 | Jul 1, 2024 |
| Ibm Http_server | — | Apply IBM HTTP Server version 8.5.5.27 or laterApply IBM HTTP Server Interim Fix PH61893Apply IBM HTTP Server version 9.0.5.21 or later | Nov 20, 2025 | Jul 29, 2024 |
| Oracle_linux | — | Upgrade mod_sslUpgrade mod_ldapUpgrade mod_proxy_htmlUpgrade mod_luaUpgrade mod_sessionUpgrade mod_http2Upgrade httpd-filesystemUpgrade httpd-coreUpgrade httpdUpgrade mod_mdUpgrade httpd-manualUpgrade httpd-toolsUpgrade httpd-devel | Aug 16, 2024 | Jul 1, 2024 |
| Redhat_linux | — | Upgrade httpd-debugsourceUpgrade mod_lua-debuginfoUpgrade mod_md-debuginfoUpgrade mod_session-debuginfoUpgrade mod_proxy_html-debuginfoUpgrade mod_luaUpgrade httpd-tools-debuginfoUpgrade mod_sessionUpgrade mod_http2Upgrade httpd-coreUpgrade mod_ldapUpgrade httpd-manualUpgrade httpdUpgrade httpd-develUpgrade mod_md-debugsourceUpgrade httpd-core-debuginfoUpgrade mod_ldap-debuginfoUpgrade mod_ssl-debuginfoUpgrade mod_http2-debugsourceUpgrade mod_mdUpgrade httpd-debuginfoUpgrade mod_http2-debuginfoUpgrade httpd-toolsUpgrade mod_sslUpgrade httpd-filesystemUpgrade mod_proxy_html | Jul 24, 2024 | Jul 1, 2024 |
| Rocky_linux | — | Upgrade mod_http2Upgrade httpd-core-debuginfoUpgrade mod_ssl-debuginfoUpgrade mod_md-debugsourceUpgrade httpd-tools-debuginfoUpgrade httpd-toolsUpgrade mod_lua-debuginfoUpgrade mod_luaUpgrade mod_http2-debuginfoUpgrade mod_mdUpgrade httpd-coreUpgrade httpd-debugsourceUpgrade httpd-develUpgrade mod_sslUpgrade mod_proxy_htmlUpgrade mod_ldap-debuginfoUpgrade mod_http2-debugsourceUpgrade mod_md-debuginfoUpgrade mod_session-debuginfoUpgrade mod_sessionUpgrade mod_proxy_html-debuginfoUpgrade mod_ldapUpgrade httpd-debuginfoUpgrade httpd | Jul 29, 2024 | Jul 1, 2024 |
| Sonicwall Sma 100 | — | Upgrade SonicWall SMA-100 to the latest version | Apr 30, 2025 | Dec 3, 2024 |
| Suse | — | Upgrade apache2-docUpgrade apache2-manualUpgrade apache2-tls13-develUpgrade apache2-eventUpgrade apache2-example-pagesUpgrade apache2-utilsUpgrade apache2-tls13-workerUpgrade apache2-tls13-docUpgrade apache2-tls13-utilsUpgrade apache2-tls13-example-pagesUpgrade apache2-tls13-preforkUpgrade apache2-tls13Upgrade apache2-preforkUpgrade apache2Upgrade apache2-workerUpgrade apache2-devel | Jul 15, 2024 | Jul 1, 2024 |
| Ubuntu | — | Upgrade apache2 (Ubuntu Pro)Upgrade apache2 | Jul 9, 2024 | Jul 1, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Jul 1, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub