{"id":"UBUNTU-CVE-2024-47252","details":"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.","modified":"2026-05-29T10:59:18.352020024Z","published":"2025-07-10T17:15:00Z","related":["USN-7639-1","USN-7639-2","USN-8338-1"],"upstream":["CVE-2024-47252"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-47252"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-47252"},{"type":"REPORT","url":"https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2024-47252"},{"type":"REPORT","url":"https://httpd.apache.org/security/vulnerabilities_24.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7639-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7639-2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8338-1"}],"affected":[{"package":{"name":"apache2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.7-1ubuntu4.22+esm12"}]}],"versions":["2.4.6-2ubuntu2","2.4.6-2ubuntu3","2.4.6-2ubuntu4","2.4.7-1ubuntu1","2.4.7-1ubuntu2","2.4.7-1ubuntu3","2.4.7-1ubuntu4","2.4.7-1ubuntu4.1","2.4.7-1ubuntu4.4","2.4.7-1ubuntu4.5","2.4.7-1ubuntu4.6","2.4.7-1ubuntu4.7","2.4.7-1ubuntu4.8","2.4.7-1ubuntu4.9","2.4.7-1ubuntu4.10","2.4.7-1ubuntu4.11","2.4.7-1ubuntu4.13","2.4.7-1ubuntu4.15","2.4.7-1ubuntu4.16","2.4.7-1ubuntu4.17","2.4.7-1ubuntu4.18","2.4.7-1ubuntu4.19","2.4.7-1ubuntu4.20","2.4.7-1ubuntu4.21","2.4.7-1ubuntu4.22","2.4.7-1ubuntu4.22+esm1","2.4.7-1ubuntu4.22+esm2","2.4.7-1ubuntu4.22+esm3","2.4.7-1ubuntu4.22+esm4","2.4.7-1ubuntu4.22+esm5","2.4.7-1ubuntu4.22+esm6","2.4.7-1ubuntu4.22+esm8","2.4.7-1ubuntu4.22+esm9","2.4.7-1ubuntu4.22+esm10"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.7-1ubuntu4.22+esm12","binary_name":"apache2"},{"binary_version":"2.4.7-1ubuntu4.22+esm12","binary_name":"apache2-bin"},{"binary_version":"2.4.7-1ubuntu4.22+esm12","binary_name":"apache2-data"},{"binary_name":"apache2-mpm-event","binary_version":"2.4.7-1ubuntu4.22+esm12"},{"binary_name":"apache2-mpm-itk","binary_version":"2.4.7-1ubuntu4.22+esm12"},{"binary_version":"2.4.7-1ubuntu4.22+esm12","binary_name":"apache2-mpm-prefork"},{"binary_name":"apache2-mpm-worker","binary_version":"2.4.7-1ubuntu4.22+esm12"},{"binary_name":"apache2-suexec","binary_version":"2.4.7-1ubuntu4.22+esm12"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.7-1ubuntu4.22+esm12"},{"binary_version":"2.4.7-1ubuntu4.22+esm12","binary_name":"apache2-suexec-pristine"},{"binary_name":"apache2-utils","binary_version":"2.4.7-1ubuntu4.22+esm12"},{"binary_name":"apache2.2-bin","binary_version":"2.4.7-1ubuntu4.22+esm12"},{"binary_version":"1:2.4.7-1ubuntu4.22+esm12","binary_name":"libapache2-mod-macro"},{"binary_name":"libapache2-mod-proxy-html","binary_version":"1:2.4.7-1ubuntu4.22+esm12"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47252.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.18-2ubuntu3.17+esm16"}]}],"versions":["2.4.12-2ubuntu2","2.4.17-1ubuntu1","2.4.17-2ubuntu1","2.4.17-3ubuntu1","2.4.18-1ubuntu1","2.4.18-2ubuntu1","2.4.18-2ubuntu2","2.4.18-2ubuntu3","2.4.18-2ubuntu3.1","2.4.18-2ubuntu3.2","2.4.18-2ubuntu3.3","2.4.18-2ubuntu3.4","2.4.18-2ubuntu3.5","2.4.18-2ubuntu3.7","2.4.18-2ubuntu3.8","2.4.18-2ubuntu3.9","2.4.18-2ubuntu3.10","2.4.18-2ubuntu3.12","2.4.18-2ubuntu3.13","2.4.18-2ubuntu3.14","2.4.18-2ubuntu3.15","2.4.18-2ubuntu3.17","2.4.18-2ubuntu3.17+esm1","2.4.18-2ubuntu3.17+esm2","2.4.18-2ubuntu3.17+esm3","2.4.18-2ubuntu3.17+esm4","2.4.18-2ubuntu3.17+esm5","2.4.18-2ubuntu3.17+esm6","2.4.18-2ubuntu3.17+esm7","2.4.18-2ubuntu3.17+esm8","2.4.18-2ubuntu3.17+esm9","2.4.18-2ubuntu3.17+esm10","2.4.18-2ubuntu3.17+esm11","2.4.18-2ubuntu3.17+esm12","2.4.18-2ubuntu3.17+esm13","2.4.18-2ubuntu3.17+esm14"],"ecosystem_specific":{"binaries":[{"binary_name":"apache2","binary_version":"2.4.18-2ubuntu3.17+esm16"},{"binary_version":"2.4.18-2ubuntu3.17+esm16","binary_name":"apache2-bin"},{"binary_name":"apache2-data","binary_version":"2.4.18-2ubuntu3.17+esm16"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.18-2ubuntu3.17+esm16"},{"binary_name":"apache2-suexec-pristine","binary_version":"2.4.18-2ubuntu3.17+esm16"},{"binary_name":"apache2-utils","binary_version":"2.4.18-2ubuntu3.17+esm16"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47252.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.29-1ubuntu4.27+esm6"}]}],"versions":["2.4.27-2ubuntu3","2.4.29-1ubuntu1","2.4.29-1ubuntu2","2.4.29-1ubuntu3","2.4.29-1ubuntu4","2.4.29-1ubuntu4.1","2.4.29-1ubuntu4.2","2.4.29-1ubuntu4.3","2.4.29-1ubuntu4.4","2.4.29-1ubuntu4.5","2.4.29-1ubuntu4.6","2.4.29-1ubuntu4.7","2.4.29-1ubuntu4.8","2.4.29-1ubuntu4.10","2.4.29-1ubuntu4.11","2.4.29-1ubuntu4.12","2.4.29-1ubuntu4.13","2.4.29-1ubuntu4.14","2.4.29-1ubuntu4.16","2.4.29-1ubuntu4.17","2.4.29-1ubuntu4.18","2.4.29-1ubuntu4.19","2.4.29-1ubuntu4.20","2.4.29-1ubuntu4.21","2.4.29-1ubuntu4.22","2.4.29-1ubuntu4.23","2.4.29-1ubuntu4.24","2.4.29-1ubuntu4.25","2.4.29-1ubuntu4.26","2.4.29-1ubuntu4.27","2.4.29-1ubuntu4.27+esm1","2.4.29-1ubuntu4.27+esm2","2.4.29-1ubuntu4.27+esm3","2.4.29-1ubuntu4.27+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"apache2","binary_version":"2.4.29-1ubuntu4.27+esm6"},{"binary_name":"apache2-bin","binary_version":"2.4.29-1ubuntu4.27+esm6"},{"binary_version":"2.4.29-1ubuntu4.27+esm6","binary_name":"apache2-data"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.29-1ubuntu4.27+esm6"},{"binary_name":"apache2-suexec-pristine","binary_version":"2.4.29-1ubuntu4.27+esm6"},{"binary_version":"2.4.29-1ubuntu4.27+esm6","binary_name":"apache2-utils"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47252.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.41-4ubuntu3.23+esm2"}]}],"versions":["2.4.41-1ubuntu1","2.4.41-4ubuntu1","2.4.41-4ubuntu2","2.4.41-4ubuntu3","2.4.41-4ubuntu3.1","2.4.41-4ubuntu3.3","2.4.41-4ubuntu3.4","2.4.41-4ubuntu3.5","2.4.41-4ubuntu3.6","2.4.41-4ubuntu3.7","2.4.41-4ubuntu3.8","2.4.41-4ubuntu3.9","2.4.41-4ubuntu3.10","2.4.41-4ubuntu3.11","2.4.41-4ubuntu3.12","2.4.41-4ubuntu3.13","2.4.41-4ubuntu3.14","2.4.41-4ubuntu3.15","2.4.41-4ubuntu3.16","2.4.41-4ubuntu3.17","2.4.41-4ubuntu3.19","2.4.41-4ubuntu3.20","2.4.41-4ubuntu3.21","2.4.41-4ubuntu3.23"],"ecosystem_specific":{"binaries":[{"binary_name":"apache2","binary_version":"2.4.41-4ubuntu3.23+esm2"},{"binary_version":"2.4.41-4ubuntu3.23+esm2","binary_name":"apache2-bin"},{"binary_version":"2.4.41-4ubuntu3.23+esm2","binary_name":"apache2-data"},{"binary_version":"2.4.41-4ubuntu3.23+esm2","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.41-4ubuntu3.23+esm2","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.41-4ubuntu3.23+esm2","binary_name":"apache2-utils"},{"binary_version":"2.4.41-4ubuntu3.23+esm2","binary_name":"libapache2-mod-md"},{"binary_version":"2.4.41-4ubuntu3.23+esm2","binary_name":"libapache2-mod-proxy-uwsgi"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47252.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.52-1ubuntu4.15"}]}],"versions":["2.4.48-3.1ubuntu3","2.4.48-3.1ubuntu4","2.4.51-2ubuntu1","2.4.52-1ubuntu1","2.4.52-1ubuntu2","2.4.52-1ubuntu4","2.4.52-1ubuntu4.1","2.4.52-1ubuntu4.2","2.4.52-1ubuntu4.3","2.4.52-1ubuntu4.4","2.4.52-1ubuntu4.5","2.4.52-1ubuntu4.6","2.4.52-1ubuntu4.7","2.4.52-1ubuntu4.8","2.4.52-1ubuntu4.9","2.4.52-1ubuntu4.10","2.4.52-1ubuntu4.11","2.4.52-1ubuntu4.12","2.4.52-1ubuntu4.13","2.4.52-1ubuntu4.14"],"ecosystem_specific":{"binaries":[{"binary_name":"apache2","binary_version":"2.4.52-1ubuntu4.15"},{"binary_name":"apache2-bin","binary_version":"2.4.52-1ubuntu4.15"},{"binary_name":"apache2-data","binary_version":"2.4.52-1ubuntu4.15"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.52-1ubuntu4.15"},{"binary_version":"2.4.52-1ubuntu4.15","binary_name":"apache2-suexec-pristine"},{"binary_name":"apache2-utils","binary_version":"2.4.52-1ubuntu4.15"},{"binary_name":"libapache2-mod-md","binary_version":"2.4.52-1ubuntu4.15"},{"binary_name":"libapache2-mod-proxy-uwsgi","binary_version":"2.4.52-1ubuntu4.15"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47252.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.58-1ubuntu8.7"}]}],"versions":["2.4.57-2ubuntu2","2.4.57-2ubuntu3","2.4.58-1ubuntu1","2.4.58-1ubuntu2","2.4.58-1ubuntu6","2.4.58-1ubuntu7","2.4.58-1ubuntu8","2.4.58-1ubuntu8.1","2.4.58-1ubuntu8.2","2.4.58-1ubuntu8.3","2.4.58-1ubuntu8.4","2.4.58-1ubuntu8.5","2.4.58-1ubuntu8.6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.58-1ubuntu8.7","binary_name":"apache2"},{"binary_name":"apache2-bin","binary_version":"2.4.58-1ubuntu8.7"},{"binary_name":"apache2-data","binary_version":"2.4.58-1ubuntu8.7"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.58-1ubuntu8.7"},{"binary_version":"2.4.58-1ubuntu8.7","binary_name":"apache2-suexec-pristine"},{"binary_name":"apache2-utils","binary_version":"2.4.58-1ubuntu8.7"},{"binary_name":"libapache2-mod-md","binary_version":"2.4.58-1ubuntu8.7"},{"binary_version":"2.4.58-1ubuntu8.7","binary_name":"libapache2-mod-proxy-uwsgi"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47252.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.64-1ubuntu2"}]}],"versions":["2.4.63-1ubuntu1","2.4.63-1ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"apache2","binary_version":"2.4.64-1ubuntu2"},{"binary_name":"apache2-bin","binary_version":"2.4.64-1ubuntu2"},{"binary_name":"apache2-data","binary_version":"2.4.64-1ubuntu2"},{"binary_version":"2.4.64-1ubuntu2","binary_name":"apache2-suexec-custom"},{"binary_name":"apache2-suexec-pristine","binary_version":"2.4.64-1ubuntu2"},{"binary_name":"apache2-utils","binary_version":"2.4.64-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47252.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}