cve.bz

CVE-2021-30641

5.3 mediumEPSS 52%

Medium (5.3). EPSS 52% estimated probability of exploitation activity in the next 30 days.

On this page
Apache HTTP Server versions 2.4.39 to 2.4.46 Unexpected matching behavior with 'MergeSlashes OFF'

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
52% (unchanged from 52% a week ago; 53% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-30641 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30641?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30641?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-30641 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:http_serverfrom 2.4.39 through 2.4.46
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora34
fedoraproject:fedora35
oracle:enterprise_manager_ops_center12.4.0.0
oracle:instantis_enterprisetrack17.1
oracle:instantis_enterprisetrack17.2
oracle:instantis_enterprisetrack17.3
oracle:zfs_storage_appliance_kit8.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9apache22.4.25-3+deb9u10DLA-2706-1
Debian10apache22.4.38-3+deb10u5DSA-4937-1
Debian12, 13, 14apache22.4.46-6DEBIAN-CVE-2021-30641
Ubuntu18.04:LTSapache22.4.29-1ubuntu4.16UBUNTU-CVE-2021-30641 USN-4994-1
Ubuntu20.04:LTSapache22.4.41-4ubuntu3.3UBUNTU-CVE-2021-30641 USN-4994-1
UbuntuPro:14.04:LTSapache22.4.7-1ubuntu4.22+esm1UBUNTU-CVE-2021-30641 USN-4994-2
UbuntuPro:16.04:LTSapache22.4.18-2ubuntu3.17+esm1UBUNTU-CVE-2021-30641 USN-4994-2
Red Hatenterprise_linux:8::appstreamhttpd, mod_ldap, httpd-devel and 9 more0:2.4.37-41.module+el8.5.0+11772+c8e0c271RHSA-2021:4257
Red Hatenterprise_linux:8::appstreammod_http2, mod_http2-debuginfo, mod_http2-debugsource0:1.15.7-3.module+el8.4.0+8625+d397f3daRHSA-2021:4257
Red Hatenterprise_linux:8::appstreammod_md, mod_md-debuginfo, mod_md-debugsource1:2.0.8-8.module+el8.3.0+6814+67d1e611RHSA-2021:4257
Red Hatenterprise_linux:8::appstreammod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.37-41.module+el8.5.0+11772+c8e0c271RHSA-2021:4257
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.6.3-107.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-84.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:7.78.0-2.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.37-78.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.16-9.Final_redhat_2.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.7-21.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.48-20.redhat_1.jbcs.el7RHSA-2021:4614
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo1:2.0.8-40.jbcs.el7RHSA-2021:4614
20 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 moreapache22.4.33-3.50.1SUSE-SU-2021:2004-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moreapache22.4.23-29.74.1SUSE-SU-2021:2006-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP3 and 2 moreapache22.4.43-3.22.1SUSE-SU-2021:2127-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSapache22.2.34-70.35.1SUSE-SU-2021:14749-1
openSUSELeap 15.2apache22.4.43-lp152.2.15.1openSUSE-SU-2021:0908-1
openSUSELeap 15.3apache22.4.43-3.22.1openSUSE-SU-2021:2127-1
AlmaLinux8mod_http21.15.7-3.module_el8.5.0+2609+b30d9eecALSA-2021:4257
AlmaLinux8mod_md1:2.0.8-8.module_el8.5.0+2609+b30d9eecALSA-2021:4257
AlmaLinux8mod_md1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2021:4257
Rocky Linux8httpd0:2.4.37-41.module+el8.5.0+695+1fa8055eRLSA-2021:4257
Rocky Linux8mod_http20:1.15.7-3.module+el8.4.0+553+7a69454bRLSA-2021:4257
Rocky Linux8mod_http20:1.15.7-3.module+el8.5.0+695+1fa8055eRLSA-2021:4257
Rocky Linux8mod_md1:2.0.8-8.module+el8.4.0+553+7a69454bRLSA-2021:4257
Rocky Linux8mod_md1:2.0.8-8.module+el8.5.0+695+1fa8055eRLSA-2021:4257
Alpinev3.10, v3.11, v3.12 and 12 moreapache22.4.48-r0ALPINE-CVE-2021-30641
Azure Linux2httpd2.4.46-10AZL-6478

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw was introduced when fixing https://access.redhat.com/security/cve/cve-2019-0220, therefore versions of httpd package shipped with Red Hat Enterprise Linux 7, 8 and Red Hat Software Collections are affected by this flaw.

Red Hat's mitigation

This issue can be mitigated by setting the "MergeSlashes" directive to OFF

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-apr-0:1.6.3-107.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-apr-util-0:1.6.1-84.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:7.78.0-2.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.37-78.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_cluster-native-0:1.3.16-9.Final_redhat_2.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_http2-0:1.15.7-21.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_jk-0:1.2.48-20.redhat_1.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_md-1:2.0.8-40.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-mod_security-0:2.9.2-67.GA.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-nghttp2-0:1.39.2-39.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-1:1.1.1g-8.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-chil-0:1.0.0-7.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-pkcs11-0:0.4.10-22.el8jbcsFixed 2021-11-10RHSA-2021:4614
JBoss Core Services on RHEL 7jbcs-httpd24-apr-0:1.6.3-107.jbcs.el7Fixed 2021-11-10RHSA-2021:4614
Red Hat Enterprise Linux 6httpdNot affected
Red Hat Enterprise Linux 7httpdOut of support scope
Red Hat Enterprise Linux 9httpdNot affected
Red Hat JBoss Enterprise Application Platform 6httpd22Out of support scope
Red Hat JBoss Enterprise Web Server 2httpd22Out of support scope
Red Hat Software Collectionshttpd24-httpdWill not fix
14 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-30641.

References

Check your stackJSON