CVE-2024-47252: Apache HTTP Server: mod_ssl error log variable escaping

Published Jun 24, 2025
·
Updated

Insufficient escaping of user-supplied data in modssl 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.

Affected Software

21 affected componentsFixes available
Apache HTTP Server<2.4.63
Apache HTTP Server>=2.4.0<2.4.64
IBM DS8A00( R10.0 - R10.1 )<=10.1.3.0 - 10.10.106.1
IBM DS8900F ( R9.4)<=89.40.83.0-89.44.5.0
alpine/apache2<2.4.64-r0
2.4.64-r0
alpine/apache2<2.4.64-r0
2.4.64-r0
alpine/apache2<2.4.64-r0
2.4.64-r0
alpine/apache2<2.4.64-r0
2.4.64-r0
alpine/apache2<2.4.64-r0
2.4.64-r0
alpine/apache2<2.4.64-r0
2.4.64-r0
debian/apache2<2.4.65-1~deb12u1
2.4.65-1~deb12u1
debian/apache2<2.4.64-1
2.4.64-1
debian/apache2<2.4.64-1
2.4.64-1
debian/apache2
2.4.68-1~deb12u12.4.67-1~deb12u32.4.68-1~deb13u12.4.69-1~deb13u12.4.69-1
ubuntu/apache2<2.4.7-1ubuntu4.22+esm12
2.4.7-1ubuntu4.22+esm12
ubuntu/apache2<2.4.18-2ubuntu3.17+esm16
2.4.18-2ubuntu3.17+esm16
ubuntu/apache2<2.4.29-1ubuntu4.27+esm6
2.4.29-1ubuntu4.27+esm6
ubuntu/apache2<2.4.41-4ubuntu3.23+esm2
2.4.41-4ubuntu3.23+esm2
ubuntu/apache2<2.4.52-1ubuntu4.15
2.4.52-1ubuntu4.15
ubuntu/apache2<2.4.58-1ubuntu8.7
2.4.58-1ubuntu8.7
ubuntu/apache2<2.4.64-1ubuntu2
2.4.64-1ubuntu2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.64-r0
  2. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.65-1~deb12u1
  3. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.64-1
  4. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.68-1~deb12u1Fixed in 2.4.67-1~deb12u3Fixed in 2.4.68-1~deb13u1Fixed in 2.4.69-1~deb13u1Fixed in 2.4.69-1
  5. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.7-1ubuntu4.22+esm12
  6. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.18-2ubuntu3.17+esm16
  7. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.29-1ubuntu4.27+esm6
  8. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.41-4ubuntu3.23+esm2
  9. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.52-1ubuntu4.15
  10. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.58-1ubuntu8.7
  11. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.64-1ubuntu2
  12. Upgrade

    Upgrade Apache HTTP Server (mod_ssl) to a version that resolves this vulnerability.

    Fixed in 2.4.63Patch CVE-2024-47252
  13. Configuration

    Avoid logging mod_ssl-provided variables such as SSL_TLS_SNI via CustomLog with the "%{varname}x" or "%{varname}c" format, since neither mod_log_config nor mod_ssl performs escaping for these variables in affected configurations (CVE-2024-47252).

    Apache httpd mod_log_config (CustomLog) CustomLog format strings using "%{varname}x" or "%{varname}c" for mod_ssl variables (e.g., SSL_TLS_SNI) = Do not use %{varname}x/%{varname}c directly with client-controlled mod_ssl variables in CustomLog; use a logging format that does not output unsanitized client-provided data

Event History

Jun 24, 2025
Data Sourced
via Red Hat·01:15 PM
DescriptionSeverityAffected Software
Jul 10, 2025
CVE Published
via MITRE·04:55 PM
Data Sourced
via MITRE·04:55 PM
DescriptionWeakness
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
DescriptionWeakness
Jul 15, 2025
Data Sourced
via NVD·08:15 PM
Severity
Jul 29, 2025
Data Sourced
via NVD·03:15 PM
Affected Software
Dec 17, 2025
Updated
via IBM·12:00 AM
Affected Software
Dec 22, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jan 15, 2026
Updated
via IBM·12:00 AM
Affected Software
Jan 30, 2026
Updated
via IBM·12:00 AM
Affected Software
Mar 2, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-47252?

CVE-2024-47252 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2024-47252?

To fix CVE-2024-47252, upgrade to Apache HTTP Server version 2.4.64 or later, which includes patches for this vulnerability.

3

What impact does CVE-2024-47252 have on my Apache server?

CVE-2024-47252 allows untrusted SSL/TLS clients to manipulate log files, potentially leading to misleading information in logs.

4

What versions of Apache HTTP Server are affected by CVE-2024-47252?

CVE-2024-47252 affects Apache HTTP Server versions 2.4.63 and earlier.

5

Is CVE-2024-47252 related to SSL/TLS security?

Yes, CVE-2024-47252 involves insufficient escaping of user-supplied data in the context of SSL/TLS clients.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203