Skip to main content
Mallory
MediumVulnerability

CVE-2021-30641: Unexpected Location Matching in Apache HTTP Server with MergeSlashes OFF

Published Jun 10, 2021 · Updated 8 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS5.3Medium · v3.1
EPSS51.8%99th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Apache Software FoundationDebian ProjectOracle CorporationFedora Project
IdentifiersCVE-2021-30641CWE-20

CVE-2021-30641 is a URL-matching vulnerability in Apache HTTP Server versions 2.4.39 through 2.4.46. A regression associated with the fix for CVE-2019-0220 disrupted the behavior of the MergeSlashes directive. When MergeSlashes is configured as OFF, requests can unexpectedly match <Location> sections, potentially causing request processing to apply unintended configuration rules. The vulnerability primarily affects integrity and was fixed upstream in version 2.4.47.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Unexpected <Location> section matching can cause requests to be handled under unintended configuration rules, potentially compromising integrity. The practical consequences depend on the server's location-specific configuration. CVSS assessments identify integrity impact without confidentiality or availability impact; denial-of-service findings in bundled advisories concern other vulnerabilities.

Mitigation

If you can’t patch tonight, do this now.

Apply the vendor-documented MergeSlashes configuration workaround where applicable and validate its effect against the deployed URL-routing configuration. The available vendor information identifies setting MergeSlashes to OFF as a mitigation, although the issue is also described as unexpected matching with that directive set to OFF; therefore, patching to a fixed release is the preferred remediation and configuration changes should be tested before production deployment.

Remediation

Patch, then assume compromise.

Upgrade to a currently supported Apache HTTP Server release containing the fix. The upstream fix first appeared in version 2.4.47 and is included in 2.4.48 and later releases. Distribution packages may contain backported fixes despite having older upstream version numbers. Historical fixed packages include Debian 9 apache2 2.4.25-3+deb9u10, Debian 10 apache2 2.4.38-3+deb10u5, and the RHEL 8 httpd update supplied through RHSA-2021:4257. Affected Red Hat JBoss Core Services installations were addressed by Apache HTTP Server 2.4.37 Service Pack 10 through RHSA-2021:4613 and RHSA-2021:4614.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationApache HTTP Serverapplication
Debian ProjectDebian Linuxoperating_system
Fedora ProjectFedoraoperating_system
Oracle CorporationEnterprise Manager Ops Centerapplication
Oracle CorporationInstantis Enterprisetrackapplication
Oracle CorporationZfs Storage Appliance Kitapplication
FAQ

Frequently asked questions

Is CVE-2021-30641 exploited in the wild?
As of Nov 14, 2026, Mallory has no reports of CVE-2021-30641 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-30641?
As of Nov 14, 2026, Mallory has found no public exploit for CVE-2021-30641.
Is there a patch for CVE-2021-30641?
Upgrade to a currently supported Apache HTTP Server release containing the fix. The upstream fix first appeared in version 2.4.47 and is included in 2.4.48 and later releases.
What products are affected by CVE-2021-30641?
Apache Software Foundation Apache HTTP Server, Debian Project Debian Linux, Oracle Corporation Enterprise Manager Ops Center, Fedora Project Fedora, Oracle Corporation Instantis Enterprisetrack, and 1 more.
How severe is CVE-2021-30641?
CVE-2021-30641 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 51.8% (99th percentile) as of Nov 14, 2026.
Activity feed

Recent activity

12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+6 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.