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 httpdUpgrade mod_luaUpgrade mod_proxy_htmlUpgrade httpd-toolsUpgrade httpd-filesystemUpgrade httpd-develUpgrade mod_mdUpgrade mod_http2Upgrade httpd-manualUpgrade httpd-coreUpgrade mod_ldapUpgrade mod_sslUpgrade mod_session | Jul 25, 2024 | Jul 1, 2024 |
| Alpine Linux | — | Upgrade apache2 | Aug 22, 2024 | Jul 1, 2024 |
| Amazon Linux Ami 2 | — | Upgrade mod_mdUpgrade httpd-toolsUpgrade httpdUpgrade mod_proxy_htmlUpgrade httpd-develUpgrade mod_sslUpgrade httpd-debuginfoUpgrade httpd-manualUpgrade mod_sessionUpgrade httpd-filesystemUpgrade mod_ldap | Jul 23, 2024 | Jul 1, 2024 |
| Amazon_linux | — | Upgrade httpd24 | Jul 25, 2024 | Jul 1, 2024 |
| Amazon_linux_2023 | — | Upgrade httpd-filesystemUpgrade mod_lua-debuginfoUpgrade httpd-coreUpgrade httpd-debugsourceUpgrade httpd-manualUpgrade mod_ldapUpgrade mod_proxy_html-debuginfoUpgrade mod_ldap-debuginfoUpgrade httpd-debuginfoUpgrade mod_sessionUpgrade mod_session-debuginfoUpgrade mod_sslUpgrade httpd-develUpgrade httpd-core-debuginfoUpgrade httpdUpgrade mod_proxy_htmlUpgrade mod_ssl-debuginfoUpgrade httpd-tools-debuginfoUpgrade mod_luaUpgrade httpd-tools | 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 mod_sslUpgrade httpd-filesystemUpgrade httpd-toolsUpgrade httpd | Oct 9, 2024 | Jul 1, 2024 |
| Huawei Euleros 2_0_sp8 | — | Upgrade mod_sessionUpgrade mod_sslUpgrade httpd-develUpgrade httpd-filesystemUpgrade httpdUpgrade httpd-manualUpgrade httpd-tools | Jan 21, 2025 | Jul 1, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade httpd-filesystemUpgrade mod_sslUpgrade httpd-toolsUpgrade httpd | Oct 8, 2024 | Jul 1, 2024 |
| Ibm Http_server | — | Apply IBM HTTP Server Interim Fix PH61893Apply IBM HTTP Server version 9.0.5.21 or laterApply IBM HTTP Server version 8.5.5.27 or later | Nov 20, 2025 | Jul 29, 2024 |
| Oracle_linux | — | Upgrade mod_http2Upgrade httpd-filesystemUpgrade mod_ldapUpgrade mod_proxy_htmlUpgrade httpd-toolsUpgrade httpd-develUpgrade httpd-coreUpgrade mod_mdUpgrade httpdUpgrade httpd-manualUpgrade mod_sessionUpgrade mod_luaUpgrade mod_ssl | Aug 16, 2024 | Jul 1, 2024 |
| Redhat_linux | — | Upgrade mod_mdUpgrade httpdUpgrade httpd-core-debuginfoUpgrade httpd-filesystemUpgrade mod_md-debugsourceUpgrade mod_ldap-debuginfoUpgrade mod_http2-debugsourceUpgrade mod_proxy_htmlUpgrade mod_ssl-debuginfoUpgrade httpd-develUpgrade mod_http2-debuginfoUpgrade httpd-debuginfoUpgrade mod_sslUpgrade httpd-toolsUpgrade httpd-tools-debuginfoUpgrade mod_md-debuginfoUpgrade httpd-coreUpgrade mod_sessionUpgrade mod_proxy_html-debuginfoUpgrade mod_lua-debuginfoUpgrade mod_luaUpgrade httpd-manualUpgrade httpd-debugsourceUpgrade mod_session-debuginfoUpgrade mod_http2Upgrade mod_ldap | Jul 24, 2024 | Jul 1, 2024 |
| Rocky_linux | — | Upgrade mod_md-debugsourceUpgrade httpd-tools-debuginfoUpgrade httpd-toolsUpgrade mod_ssl-debuginfoUpgrade mod_lua-debuginfoUpgrade mod_http2Upgrade mod_luaUpgrade httpd-core-debuginfoUpgrade httpd-debugsourceUpgrade mod_proxy_htmlUpgrade mod_ldap-debuginfoUpgrade mod_session-debuginfoUpgrade httpdUpgrade httpd-coreUpgrade mod_http2-debugsourceUpgrade mod_proxy_html-debuginfoUpgrade mod_mdUpgrade mod_sslUpgrade mod_sessionUpgrade httpd-develUpgrade mod_http2-debuginfoUpgrade mod_ldapUpgrade httpd-debuginfoUpgrade mod_md-debuginfo | 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-preforkUpgrade apache2-tls13-preforkUpgrade apache2-workerUpgrade apache2-tls13Upgrade apache2-tls13-utilsUpgrade apache2Upgrade apache2-tls13-example-pagesUpgrade apache2-develUpgrade apache2-tls13-develUpgrade apache2-tls13-docUpgrade apache2-eventUpgrade apache2-example-pagesUpgrade apache2-utilsUpgrade apache2-tls13-workerUpgrade apache2-manualUpgrade apache2-doc | Jul 15, 2024 | Jul 1, 2024 |
| Ubuntu | — | Upgrade apache2Upgrade apache2 (Ubuntu Pro) | 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