{"id":"USN-6885-4","summary":"apache2 regression","details":"USN-6885-1 fixed a vulnerability in Apache. The patch\nfor CVE-2024-38474 was incomplete and caused regressions.\nThis update provides the fix for that issue.\n\nOriginal advisory details:\n\n Orange Tsai discovered that the Apache HTTP Server mod_rewrite module\n incorrectly handled certain substitutions. A remote attacker could\n possibly use this issue to execute scripts in directories not directly\n reachable by any URL, or cause a denial of service. Some environments\n may require using the new UnsafeAllow3F flag to handle unsafe\n substitutions. (CVE-2024-38474)\n","modified":"2026-05-20T16:03:19.650590601Z","published":"2025-04-07T08:46:27Z","related":["UBUNTU-CVE-2024-38474"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6885-4"},{"type":"REPORT","url":"https://launchpad.net/bugs/2103723"}],"affected":[{"package":{"name":"apache2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.18-2ubuntu3.17+esm14"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"2.4.18-2ubuntu3.17+esm14","binary_name":"apache2"},{"binary_version":"2.4.18-2ubuntu3.17+esm14","binary_name":"apache2-bin"},{"binary_version":"2.4.18-2ubuntu3.17+esm14","binary_name":"apache2-data"},{"binary_version":"2.4.18-2ubuntu3.17+esm14","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.18-2ubuntu3.17+esm14","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.18-2ubuntu3.17+esm14","binary_name":"apache2-utils"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6885-4.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+esm4"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.4.29-1ubuntu4.27+esm4","binary_name":"apache2"},{"binary_version":"2.4.29-1ubuntu4.27+esm4","binary_name":"apache2-bin"},{"binary_version":"2.4.29-1ubuntu4.27+esm4","binary_name":"apache2-data"},{"binary_version":"2.4.29-1ubuntu4.27+esm4","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.29-1ubuntu4.27+esm4","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.29-1ubuntu4.27+esm4","binary_name":"apache2-utils"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6885-4.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/apache2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.41-4ubuntu3.23"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"apache2"},{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"apache2-bin"},{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"apache2-data"},{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"apache2-utils"},{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"libapache2-mod-md"},{"binary_version":"2.4.41-4ubuntu3.23","binary_name":"libapache2-mod-proxy-uwsgi"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6885-4.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.14"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"apache2"},{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"apache2-bin"},{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"apache2-data"},{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"apache2-utils"},{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"libapache2-mod-md"},{"binary_version":"2.4.52-1ubuntu4.14","binary_name":"libapache2-mod-proxy-uwsgi"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6885-4.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.6"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"apache2"},{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"apache2-bin"},{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"apache2-data"},{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"apache2-utils"},{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"libapache2-mod-md"},{"binary_version":"2.4.58-1ubuntu8.6","binary_name":"libapache2-mod-proxy-uwsgi"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:24.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6885-4.json"}}],"schema_version":"1.7.5"}