CWE
20
Advisory Published
CVE Published
CVE Published
Updated

CVE-2021-30641: Unexpected URL matching with 'MergeSlashes OFF'

First published: Tue Jun 01 2021(Updated: )

A flaw was found in Apache httpd. A possible regression from an earlier security fix broke behavior of MergeSlashes. The highest threat from this vulnerability is to data integrity.

Credit: security@apache.org

Affected SoftwareAffected VersionHow to fix
redhat/jbcs-httpd24-apr<0:1.6.3-107.el8
0:1.6.3-107.el8
redhat/jbcs-httpd24-apr-util<0:1.6.1-84.el8
0:1.6.1-84.el8
redhat/jbcs-httpd24-curl<0:7.78.0-2.el8
0:7.78.0-2.el8
redhat/jbcs-httpd24-httpd<0:2.4.37-78.el8
0:2.4.37-78.el8
redhat/jbcs-httpd24-nghttp2<0:1.39.2-39.el8
0:1.39.2-39.el8
redhat/jbcs-httpd24-openssl<1:1.1.1g-8.el8
1:1.1.1g-8.el8
redhat/jbcs-httpd24-openssl-chil<0:1.0.0-7.el8
0:1.0.0-7.el8
redhat/jbcs-httpd24-openssl-pkcs11<0:0.4.10-22.el8
0:0.4.10-22.el8
redhat/jbcs-httpd24-apr<0:1.6.3-107.jbcs.el7
0:1.6.3-107.jbcs.el7
redhat/jbcs-httpd24-apr-util<0:1.6.1-84.jbcs.el7
0:1.6.1-84.jbcs.el7
redhat/jbcs-httpd24-curl<0:7.78.0-2.jbcs.el7
0:7.78.0-2.jbcs.el7
redhat/jbcs-httpd24-httpd<0:2.4.37-78.jbcs.el7
0:2.4.37-78.jbcs.el7
redhat/jbcs-httpd24-nghttp2<0:1.39.2-39.jbcs.el7
0:1.39.2-39.jbcs.el7
redhat/jbcs-httpd24-openssl<1:1.1.1g-8.jbcs.el7
1:1.1.1g-8.jbcs.el7
redhat/jbcs-httpd24-openssl-chil<0:1.0.0-7.jbcs.el7
0:1.0.0-7.jbcs.el7
redhat/jbcs-httpd24-openssl-pkcs11<0:0.4.10-22.jbcs.el7
0:0.4.10-22.jbcs.el7
redhat/httpd<2.4.47
2.4.47
Apache Http Server>=2.4.39<=2.4.46
Debian=9.0
Debian=10.0
Fedora=34
Fedora=35
Oracle Enterprise Manager Ops Center=12.4.0.0
oracle instantis enterprisetrack=17.1
oracle instantis enterprisetrack=17.2
oracle instantis enterprisetrack=17.3
Oracle Sun ZFS Storage Appliance Kit=8.8

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-30641?

    CVE-2021-30641 is a vulnerability found in Apache HTTP Server versions 2.4.39 to 2.4.46 that causes unexpected matching behavior with MergeSlashes OFF.

  • What is the severity of CVE-2021-30641?

    The severity of CVE-2021-30641 is medium with a severity value of 5.9.

  • How does CVE-2021-30641 affect data integrity?

    CVE-2021-30641 poses a threat to data integrity.

  • Which software versions are affected by CVE-2021-30641?

    Apache HTTP Server versions 2.4.39 to 2.4.46 are affected by CVE-2021-30641.

  • How can I fix CVE-2021-30641?

    To fix CVE-2021-30641, update Apache HTTP Server to version 2.4.47.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203