{"id":"UBUNTU-CVE-2021-30641","details":"Apache HTTP Server versions 2.4.39 to 2.4.46 Unexpected matching behavior with 'MergeSlashes OFF'","modified":"2026-04-22T14:42:36.797977Z","published":"2021-06-10T07:15:00Z","related":["USN-4994-1","USN-4994-2"],"upstream":["CVE-2021-30641"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-30641"},{"type":"REPORT","url":"https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2021-30641"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r2b4773944d83d2799de9fbaeee7fe0f3fd72669467787e02f434cb10@%3Cannounce.httpd.apache.org%3E"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2021/06/10/8"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4994-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4994-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-30641"}],"affected":[{"package":{"name":"apache2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/apache2@2.4.7-1ubuntu4.22+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.7-1ubuntu4.22+esm1"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"apache2","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-bin","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-data","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-mpm-event","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-mpm-itk","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-mpm-prefork","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-mpm-worker","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-suexec","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-suexec-pristine","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_name":"apache2-utils","binary_version":"2.4.7-1ubuntu4.22+esm1"},{"binary_version":"2.4.7-1ubuntu4.22+esm1","binary_name":"apache2.2-bin"},{"binary_name":"libapache2-mod-macro","binary_version":"1:2.4.7-1ubuntu4.22+esm1"},{"binary_name":"libapache2-mod-proxy-html","binary_version":"1:2.4.7-1ubuntu4.22+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30641.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/apache2@2.4.18-2ubuntu3.17+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.18-2ubuntu3.17+esm1"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"apache2","binary_version":"2.4.18-2ubuntu3.17+esm1"},{"binary_name":"apache2-bin","binary_version":"2.4.18-2ubuntu3.17+esm1"},{"binary_name":"apache2-data","binary_version":"2.4.18-2ubuntu3.17+esm1"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.18-2ubuntu3.17+esm1"},{"binary_name":"apache2-suexec-pristine","binary_version":"2.4.18-2ubuntu3.17+esm1"},{"binary_name":"apache2-utils","binary_version":"2.4.18-2ubuntu3.17+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30641.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/apache2@2.4.29-1ubuntu4.16?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.29-1ubuntu4.16"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"apache2","binary_version":"2.4.29-1ubuntu4.16"},{"binary_name":"apache2-bin","binary_version":"2.4.29-1ubuntu4.16"},{"binary_name":"apache2-data","binary_version":"2.4.29-1ubuntu4.16"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.29-1ubuntu4.16"},{"binary_name":"apache2-suexec-pristine","binary_version":"2.4.29-1ubuntu4.16"},{"binary_name":"apache2-utils","binary_version":"2.4.29-1ubuntu4.16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30641.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/apache2@2.4.41-4ubuntu3.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.41-4ubuntu3.3"}]}],"versions":["2.4.41-1ubuntu1","2.4.41-4ubuntu1","2.4.41-4ubuntu2","2.4.41-4ubuntu3","2.4.41-4ubuntu3.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"apache2","binary_version":"2.4.41-4ubuntu3.3"},{"binary_name":"apache2-bin","binary_version":"2.4.41-4ubuntu3.3"},{"binary_name":"apache2-data","binary_version":"2.4.41-4ubuntu3.3"},{"binary_name":"apache2-suexec-custom","binary_version":"2.4.41-4ubuntu3.3"},{"binary_name":"apache2-suexec-pristine","binary_version":"2.4.41-4ubuntu3.3"},{"binary_name":"apache2-utils","binary_version":"2.4.41-4ubuntu3.3"},{"binary_version":"2.4.41-4ubuntu3.3","binary_name":"libapache2-mod-md"},{"binary_name":"libapache2-mod-proxy-uwsgi","binary_version":"2.4.41-4ubuntu3.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30641.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:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}