Vulnerability record · CVE-2021-30641 · published 10 June 2021
CVE-2021-30641: Apache HTTP Server MergeSlashes OFF path matching flaw
Apache · Http Server
Apache HTTP Server versions 2.4.39 through 2.4.46 exhibit unexpected matching behavior when the MergeSlashes option is set to OFF. This can cause request paths to be matched differently than administrators intend, which matters because access control and routing rules may not apply as configured. The record gives no further detail on the exact matching discrepancy.
Description
Apache HTTP Server versions 2.4.39 to 2.4.46 Unexpected matching behavior with 'MergeSlashes OFF'
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Automated analysis
medium priorityMedium CVSS severity with limited integrity-only impact, but high EPSS and a widely deployed product warrant prompt patching.
What it is
Apache HTTP Server versions 2.4.39 through 2.4.46 exhibit unexpected matching behavior when the MergeSlashes option is set to OFF. This can cause request paths to be matched differently than administrators intend, which matters because access control and routing rules may not apply as configured. The record gives no further detail on the exact matching discrepancy.
Impact
An attacker may reach resources or code paths that the intended configuration was meant to block or route elsewhere, resulting in limited integrity impact. The CVSS vector shows no confidentiality or availability impact.
Attack surface
Reachable over the network via HTTP requests with no authentication and no user interaction required, per the CVSS vector AV:N/AC:L/PR:N/UI:N. It only applies to servers configured with MergeSlashes OFF.
Exploitation
Not listed in CISA KEV and no ransomware use documented, but EPSS is high at 0.526 (99th percentile), indicating elevated predicted exploitation likelihood. References are vendor advisories and distribution notices only, with no public exploit tags.
What to do
- Upgrade Apache HTTP Server to a release after 2.4.46, which is the last affected version listed.
- If upgrade is not immediate, review and avoid relying on MergeSlashes OFF for security-relevant path matching.
- Audit access control and rewrite rules for assumptions about slash handling in request paths.
- Apply the relevant distribution updates from Debian, Fedora, Gentoo, NetApp or Oracle advisories for packaged builds.
Detection
- Review httpd configuration for MergeSlashes OFF and inventory affected servers.
- Monitor access logs for request paths containing repeated or unusual slash sequences.
- Compare logged request paths against expected routing and access control decisions to spot mismatches.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2021-30641 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-30641), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.