CVE-2024-47252Apache HTTP Server: mod_ssl error log variable escaping
Insufficient escaping of user-supplied data in mod_ssl in Apache HTTP Server 2.4.63 and earlier allows an untrusted SSL/TLS client to insert escape characters into log files in some configurations. In a logging configuration where CustomLog is used with "%{varname}x" or "%{varname}c" to log variables provided by mod_ssl such as SSL_TLS_SNI, no escaping is performed by either mod_log_config or mod_ssl and unsanitized data provided by the client may appear in log files.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | apache2 | Fixed | 2.4.64-1ubuntu2 | UBUNTU-CVE-2024-47252 |
| Ubuntu 24.04 | apache2 | Fixed | 2.4.58-1ubuntu8.7 | UBUNTU-CVE-2024-47252 |
| Ubuntu 22.04 | apache2 | Fixed | 2.4.52-1ubuntu4.15 | UBUNTU-CVE-2024-47252 |
| Ubuntu 20.04 | apache2 | Fix pending | 2.4.41-4ubuntu3.23+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-47252 |
| Ubuntu 18.04 | apache2 | Fix pending | 2.4.29-1ubuntu4.27+esm6 (Ubuntu Pro) | UBUNTU-CVE-2024-47252 |
| Ubuntu 16.04 | apache2 | Fix pending | 2.4.18-2ubuntu3.17+esm16 (Ubuntu Pro) | UBUNTU-CVE-2024-47252 |
| Ubuntu 14.04 | apache2 | Fix pending | 2.4.7-1ubuntu4.22+esm12 (Ubuntu Pro) | UBUNTU-CVE-2024-47252 |
| Debian 14 | apache2 | Fixed | 2.4.64-1 | DEBIAN-CVE-2024-47252 |
| Debian 13 | apache2 | Fixed | 2.4.64-1 | DEBIAN-CVE-2024-47252 |
| Debian 12 | apache2 | Fixed | 2.4.65-1~deb12u1 | DEBIAN-CVE-2024-47252 |
| Red Hat Enterprise Linux 10 | httpd | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | httpd-core | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | httpd-devel | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | httpd-filesystem | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | httpd-manual | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | httpd-tools | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | mod_ldap | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | mod_lua | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | mod_proxy_html | Fixed | 1:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | mod_session | Fixed | 0:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 10 | mod_ssl | Fixed | 1:2.4.63-1.el10_0.2 | RHSA-2025:15095 |
| Red Hat Enterprise Linux 9 | httpd | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | httpd-core | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | httpd-devel | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | httpd-filesystem | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | httpd-manual | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | httpd-tools | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | mod_ldap | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | mod_lua | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | mod_proxy_html | Fixed | 1:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | mod_session | Fixed | 0:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 9 | mod_ssl | Fixed | 1:2.4.62-4.el9_6.4 | RHSA-2025:15023 |
| Red Hat Enterprise Linux 8 | httpd | Fixed | 0:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | httpd-devel | Fixed | 0:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | httpd-filesystem | Fixed | 0:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | httpd-manual | Fixed | 0:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | httpd-tools | Fixed | 0:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | mod_http2 | Fixed | 0:1.15.7-10.module+el8.10.0+23369+11a81384.4 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | mod_ldap | Fixed | 0:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | mod_md | Fixed | 1:2.0.8-8.module+el8.9.0+19080+567b90f8 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | mod_proxy_html | Fixed | 1:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | mod_session | Fixed | 0:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 8 | mod_ssl | Fixed | 1:2.4.37-65.module+el8.10.0+23369+11a81384.5 | RHSA-2025:15123 |
| Red Hat Enterprise Linux 6 | httpd | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | httpd-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | httpd-manual | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | httpd-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mod_ssl | Will not fix Out of support scope | ||
| AlmaLinux 10 | httpd-filesystem | Fixed | 2.4.63-1.el10_0.2 | ALSA-2025:15095 |
| AlmaLinux 10 | httpd-manual | Fixed | 2.4.63-1.el10_0.2 | ALSA-2025:15095 |
| AlmaLinux 9 | httpd | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | httpd-core | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | httpd-devel | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | httpd-filesystem | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | httpd-manual | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | httpd-tools | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | mod_ldap | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | mod_lua | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | mod_proxy_html | Fixed | 1:2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | mod_session | Fixed | 2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 9 | mod_ssl | Fixed | 1:2.4.62-4.el9_6.4 | ALSA-2025:15023 |
| AlmaLinux 8 | httpd | Fixed | 2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | httpd-devel | Fixed | 2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | httpd-filesystem | Fixed | 2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | httpd-manual | Fixed | 2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | httpd-tools | Fixed | 2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | mod_http2 | Fixed | 1.15.7-10.module_el8.10.0+4044+ea5f78b1.4 | ALSA-2025:15123 |
| AlmaLinux 8 | mod_ldap | Fixed | 2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | mod_md | Fixed | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALSA-2025:15123 |
| AlmaLinux 8 | mod_proxy_html | Fixed | 1:2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | mod_session | Fixed | 2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| AlmaLinux 8 | mod_ssl | Fixed | 1:2.4.37-65.module_el8.10.0+4044+ea5f78b1.5 | ALSA-2025:15123 |
| Rocky Linux 10 | httpd | Fixed | 0:2.4.63-1.el10_0.2 | RLSA-2025:15095 |
| Rocky Linux 9 | httpd | Fixed | 0:2.4.62-4.el9_6.4 | RLSA-2025:15023 |
| Rocky Linux 8 | httpd | Fixed | 0:2.4.37-65.module+el8.10.0+1842+4a9649e8.2 | RLSA-2025:15123 |
| Rocky Linux 8 | mod_http2 | Fixed | 0:1.15.7-10.module+el8.10.0+1938+3b7755d4.3 | RLSA-2025:15123 |
| Rocky Linux 8 | mod_md | Fixed | 1:2.0.8-8.module+el8.9.0+1370+89cc8ad5 | RLSA-2025:15123 |
| Alpine Linux 3.24 | apache2 | Fixed | 2.4.64-r0 | ALPINE-CVE-2024-47252 |
| Alpine Linux 3.23 | apache2 | Fixed | 2.4.64-r0 | ALPINE-CVE-2024-47252 |
| Alpine Linux 3.22 | apache2 | Fixed | 2.4.64-r0 | ALPINE-CVE-2024-47252 |
| Alpine Linux 3.21 | apache2 | Fixed | 2.4.64-r0 | ALPINE-CVE-2024-47252 |
| Alpine Linux 3.20 | apache2 | Fixed | 2.4.64-r0 | ALPINE-CVE-2024-47252 |
| Alpine Linux 3.19 | apache2 | Fixed | 2.4.64-r0 | ALPINE-CVE-2024-47252 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache HTTP Server: affected: 2.4 to 2.4.63
Vendor advisories:
- https://httpd.apache.org/security/vulnerabilities_24.html (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.