Input validation error in Apache HTTP Server - CVE-2021-30641

 

Input validation error in Apache HTTP Server - CVE-2021-30641

Published: June 3, 2021


Vulnerability identifier: #VU53774
CSH Severity: Medium
CVSS v4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-30641
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to incorrect parsing of Apache configuration files. An unexpected section could be matched with 'MergeSlashes OFF' option, leading to a potential security issue.


Affected software

Apache HTTP Server
IBM Tivoli Monitoring
EasyApache
Dell Secure Connect Gateway
IBM Rational Build Forge
Gentoo Linux
Amazon Linux AMI
ClevOS
SUSE Manager Server
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
IBM i
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Slackware Linux
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Server Applications
openEuler
Fedora
jbcs-httpd24-openssl-pkcs11 (Red Hat package)
jbcs-httpd24-openssl-chil (Red Hat package)
jbcs-httpd24-apr-util (Red Hat package)
jbcs-httpd24-apr (Red Hat package)
jbcs-httpd24-mod_http2 (Red Hat package)
jbcs-httpd24-nghttp2 (Red Hat package)
jbcs-httpd24-mod_md (Red Hat package)
apache2 (Debian package)
jbcs-httpd24-httpd (Red Hat package)
jbcs-httpd24-mod_security (Red Hat package)
jbcs-httpd24-curl (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
apache2
apache2-doc
apache2-example-pages
apache2-prefork
apache2-utils
apache2-worker
apache2-devel
apache2-debuginfo
apache2-debugsource
apache2-utils-debuginfo
apache2-prefork-debuginfo
apache2-worker-debuginfo
apache2-bin (Ubuntu package)
apache2 (Ubuntu package)
apache2-event-debuginfo
apache2-event
mod_proxy_html
mod_ssl
httpd
httpd-tools
httpd-debugsource
mod_md
httpd-debuginfo
httpd-devel
mod_ldap
mod_session
httpd-help
httpd-filesystem
JBoss Core Services
IBM Security SiteProtector System

How to mitigate CVE-2021-30641

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.47
jbcs-httpd24-openssl-pkcs11 (Red Hat package) - addressed in versions 0.4.10-22.el8jbcs, 0.4.10-22.jbcs.el7
jbcs-httpd24-openssl-chil (Red Hat package) - addressed in versions 1.0.0-7.el8jbcs, 1.0.0-7.jbcs.el7
jbcs-httpd24-apr-util (Red Hat package) - addressed in versions 1.6.1-84.el8jbcs, 1.6.1-84.jbcs.el7
jbcs-httpd24-apr (Red Hat package) - addressed in versions 1.6.3-107.el8jbcs, 1.6.3-107.jbcs.el7
jbcs-httpd24-mod_http2 (Red Hat package) - addressed in versions 1.15.7-21.el8jbcs, 1.15.7-21.jbcs.el7
jbcs-httpd24-nghttp2 (Red Hat package) - addressed in versions 1.39.2-39.el8jbcs, 1.39.2-39.jbcs.el7
jbcs-httpd24-mod_md (Red Hat package) - addressed in versions 2.0.8-40.el8jbcs, 2.0.8-40.jbcs.el7
apache2 (Debian package) - update to 2.4.38-3+deb10u5
JBoss Core Services - update to 2.4.37 SP10
jbcs-httpd24-httpd (Red Hat package) - addressed in versions 2.4.37-78.el8jbcs, 2.4.37-78.jbcs.el7
jbcs-httpd24-mod_security (Red Hat package) - addressed in versions 2.9.2-67.GA.el8jbcs, 2.9.2-67.GA.jbcs.el7
EasyApache - update to 4 2021-6-2
Dell Secure Connect Gateway - update to 5.12.00.10
jbcs-httpd24-curl (Red Hat package) - addressed in versions 7.78.0-2.el8jbcs, 7.78.0-2.jbcs.el7
IBM Rational Build Forge - update to 8.0.0.21
apache2 - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-doc - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-example-pages - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1
apache2-prefork - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-utils - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-worker - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-devel - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-debuginfo - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-debugsource - addressed in versions 2.2.34-70.35.1, 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-utils-debuginfo - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-prefork-debuginfo - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-worker-debuginfo - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-bin (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.16, 2.4.41-4ubuntu3.3, 2.4.46-1ubuntu1.2, 2.4.46-4ubuntu1.1, 2.4.182ubuntu3.17+esm1
apache2 (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.16, 2.4.41-4ubuntu3.3, 2.4.46-1ubuntu1.2, 2.4.46-4ubuntu1.1, 2.4.182ubuntu3.17+esm1
apache2-event-debuginfo - update to 2.4.43-3.22.1
apache2-event - update to 2.4.43-3.22.1
mod_proxy_html - update to 2.4.43-7
mod_ssl - update to 2.4.43-7
httpd - update to 2.4.43-7
httpd-tools - update to 2.4.43-7
httpd-debugsource - update to 2.4.43-7
mod_md - update to 2.4.43-7
httpd-debuginfo - update to 2.4.43-7
httpd-devel - update to 2.4.43-7
mod_ldap - update to 2.4.43-7
mod_session - update to 2.4.43-7
httpd-help - update to 2.4.43-7
httpd-filesystem - update to 2.4.43-7
httpd - addressed in versions 2.4.49-1.fc34, 2.4.49-1.fc35
IBM Security SiteProtector System - update to 3.1.1.16

External References

Related Security Bulletins