Apache 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-47252
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 07:00 UTC · Revision 1
Source evidence
Apache HTTP Server: mod_ssl error log variable escaping
core-osv · Original sourcePublished 10 Jul 2025, 16:55 UTC
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.
osv:CVE-2024-47252
Complete source record
{
"id": "fac7b58431c0c4155a67f08e7751faab25c6a06f05a9176d818cd8f90490198b",
"url": "https://osv.dev/vulnerability/CVE-2024-47252",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache HTTP Server: mod_ssl error log variable escaping",
"summary": "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.",
"evidence": "osv:CVE-2024-47252",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-47252",
"aliases": [
"BIT-apache-2024-47252",
"CVE-2024-47252"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/httpd",
"type": "GIT",
"events": [
{
"introduced": "da5873e80d6eee7a0838793bf68f1d0254745fbb"
},
{
"fixed": "7e926454793abd7d71b6afc8bd1ec1648752c6ad"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.0"
},
{
"fixed": "2.4.64"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47252.json"
}
}
],
"modified": "2026-10-28T02:30:50.008200552Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2025/08/msg00009.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47252.json",
"https://httpd.apache.org/security/vulnerabilities_24.html",
"https://nvd.nist.gov/vuln/detail/CVE-2024-47252"
],
"provider_metadata": {
"cwe_ids": [
"CWE-150"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.4"
},
{
"last_affected": "2.4.63"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47252.json"
}
},
"related_cves": [
{
"value": "CVE-2024-47252",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518571,
"published_at": "2025-07-10T16:55:20.013+00:00"
}