Skip to content
OpenAdvisories
High · 7.5 CVE-2024-39573 EUVD-2024-38096GHSA-2wcw-rcf9-qm36

Apache HTTP Server: mod_rewrite proxy handler substitution

Published Jul 1, 2024 · Updated Nov 3, 2025 · Assigned by apache

Description

Potential SSRF in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to cause unsafe RewriteRules to unexpectedly setup URL's to be handled by mod_proxy.
Users are recommended to upgrade to version 2.4.60, which fixes this issue.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache HTTP Server 2.4.0 – ≤ 2.4.59 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache2 2.4.60-1 —
Debian 13 apache2 2.4.60-1 —
Debian 12 apache2 2.4.61-1~deb12u1 DSA-5729-1
Debian 11 apache2 2.4.61-1~deb11u1 DSA-5729-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS apache2 2.4.58-1ubuntu8.2 USN-6885-1
Ubuntu 22.04 LTS apache2 2.4.52-1ubuntu4.10 USN-6885-1
Ubuntu 20.04 LTS apache2 2.4.41-4ubuntu3.19 USN-6885-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS apache2 2.4.41-4ubuntu3.23+esm3 USN-8338-1
Ubuntu Pro 18.04 LTS apache2 2.4.29-1ubuntu4.27+esm7 USN-8338-1
Ubuntu Pro 16.04 LTS apache2 2.4.18-2ubuntu3.17+esm17 USN-8338-1
Ubuntu Pro 14.04 LTS apache2 2.4.7-1ubuntu4.22+esm12 USN-8338-1
ReleasePackageFixed inAdvisory
RHEL 9 httpd +8 2.4.57-11.el9_4 RHSA-2024:4726
RHEL 9 mod_ssl +1 1:2.4.57-11.el9_4 RHSA-2024:4726
RHEL 8 httpd +6 2.4.37-65.module+el8.10.0+22069+b47f5c72.1 RHSA-2024:4720
RHEL 8 mod_http2 1.15.7-10.module+el8.10.0+21653+eaff63f0 RHSA-2024:4720
RHEL 8 mod_md 1:2.0.8-8.module+el8.9.0+19080+567b90f8 RHSA-2024:4720
RHEL 8 mod_ssl +1 1:2.4.37-65.module+el8.10.0+22069+b47f5c72.1 RHSA-2024:4720
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS httpd +8 2.4.53-11.el9_2.10 RHSA-2024:5001
RHEL 9.2 EUS mod_ssl +1 1:2.4.53-11.el9_2.10 RHSA-2024:5001
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.57-13.el7jbcs RHSA-2024:5239
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_http2 1.15.19-41.el7jbcs RHSA-2024:5239
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +1 1.2.49-11.redhat_1.el7jbcs RHSA-2024:5239
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_md 1:2.4.24-11.el7jbcs RHSA-2024:5239
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_proxy_cluster 1.3.20-8.el7jbcs RHSA-2024:5239
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_security 2.9.3-40.el7jbcs RHSA-2024:5239
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.57-13.el7jbcs RHSA-2024:5239

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 httpd +8 2.4.57-11.el9_4 ALSA-2024:4726
AlmaLinux 9 mod_ssl +1 1:2.4.57-11.el9_4 ALSA-2024:4726
AlmaLinux 8 httpd +6 2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 ALSA-2024:4720
AlmaLinux 8 mod_http2 1.15.7-10.module_el8.10.0+3832+564e7653 ALSA-2024:4720
AlmaLinux 8 mod_md 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa ALSA-2024:4720
AlmaLinux 8 mod_ssl +1 1:2.4.37-65.module_el8.10.0+3872+9b8ab21e.1 ALSA-2024:4720

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 httpd 2.4.57-11.el9_4 RLSA-2024:4726
Rocky Linux 8 httpd 2.4.37-65.module+el8.10.0+1830+22f0c9e0 RLSA-2024:4720
Rocky Linux 8 mod_http2 1.15.7-10.module+el8.10.0+1775+6b057638 RLSA-2024:4720
Rocky Linux 8 mod_md 1:2.0.8-8.module+el8.9.0+1370+89cc8ad5 RLSA-2024:4720
ReleasePackageFixed inAdvisory
SLES 15 SP6 apache2 2.4.51-150400.6.29.1 SUSE-SU-2024:2624-1, SUSE-SU-2024:2405-1
SLES 15 SP6 apache2-devel +4 2.4.58-150600.5.11.1 SUSE-SU-2024:2405-1
SLES 15 SP5 apache2 2.4.51-150400.6.29.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:2624-1
SLES 15 SP4 apache2 2.4.51-150400.6.29.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:2624-1
SLES 15 SP3 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
SLES 12 SP5 apache2 +1 2.4.51-35.51.1 SUSE-SU-2024:2436-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLES for SAP 15 SP4 apache2 2.4.51-150400.6.29.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:2624-1
SLES for SAP 15 SP3 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
SLES for SAP 12 SP5 apache2 +1 2.4.51-35.51.1 SUSE-SU-2024:2436-1
SLE HPC 15 SP5 apache2 2.4.66-150400.6.57.1 SUSE-SU-2026:2686-1
SLE HPC 15 SP4 apache2 2.4.51-150400.6.29.1 SUSE-SU-2026:2686-1, SUSE-SU-2024:2624-1
SLE HPC 15 SP3 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
SUSE Manager Server 4.3 apache2 2.4.51-150400.6.29.1 SUSE-SU-2024:2624-1
SUSE Manager Proxy 4.3 apache2 2.4.51-150400.6.29.1 SUSE-SU-2024:2624-1
SUSE Enterprise Storage 7.1 apache2 2.4.51-150200.3.79.1 SUSE-SU-2025:02241-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2 2.4.61-1.1 openSUSE-SU-2024:14116-1
openSUSE Leap 15.6 apache2 +6 2.4.58-150600.5.11.1 SUSE-SU-2024:2405-1
openSUSE Leap 15.5 apache2 2.4.51-150400.6.29.1 SUSE-SU-2024:2624-1
ReleasePackageFixed inAdvisory
Alpine v3.24 apache2 2.4.60-r0 —
Alpine v3.23 apache2 2.4.60-r0 —
Alpine v3.22 apache2 2.4.60-r0 —
Alpine v3.21 apache2 2.4.60-r0 —
Alpine v3.20 apache2 2.4.60-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 apache2 2.4.60-r0 —
Alpine v3.18 apache2 2.4.60-r0 —
Alpine v3.17 apache2 2.4.60-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 httpd +8 2.4.61-1.amzn2023 ALAS2023-2024-656
Amazon Linux 2023 mod_ssl +1 1:2.4.61-1.amzn2023 ALAS2023-2024-656
Amazon Linux 2 httpd +7 2.4.61-1.amzn2.0.1 ALAS2-2024-2594
Amazon Linux 2 mod_ssl +1 1:2.4.61-1.amzn2.0.1 ALAS2-2024-2594

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 httpd +8 2.4.57-11.0.1.el9_4 ELSA-2024-4726
Oracle Linux 9 mod_ssl +1 1:2.4.57-11.0.1.el9_4 ELSA-2024-4726
Oracle Linux 8 httpd +6 2.4.37-65.0.1.module+el8.10.0+90368+a557a4bf.1 ELSA-2024-4720
Oracle Linux 8 mod_http2 1.15.7-10.module+el8.10.0+90327+96b8ea28 ELSA-2024-4720
Oracle Linux 8 mod_md 1:2.0.8-8.module+el8.9.0+90011+2f9c6a23 ELSA-2024-4720
Oracle Linux 8 mod_ssl +1 1:2.4.37-65.0.1.module+el8.10.0+90368+a557a4bf.1 ELSA-2024-4720

Advisories 27

References