NULL pointer dereference in Apache HTTP Server - CVE-2021-31618

 

NULL pointer dereference in Apache HTTP Server - CVE-2021-31618

Published: June 3, 2021


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

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in mod_http2 in Apache HTTP server. A remote attacker can send specially crafted request to the server and perform a denial of service (DoS) attack.


Affected software

Apache HTTP Server
ClevOS
Arch Linux
Gentoo Linux
SUSE Manager Retail Branch Server
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Enterprise Storage
IBM i
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Server Applications
Fedora
jbcs-httpd24 (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-mod_md (Red Hat package)
apache2 (Debian package)
jbcs-httpd24-httpd (Red Hat package)
jbcs-httpd24-mod_security (Red Hat package)
jbcs-httpd24-jansson (Red Hat package)
jbcs-httpd24-curl (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
jbcs-httpd24-openssl-pkcs11 (Red Hat package)
jbcs-httpd24-openssl-chil (Red Hat package)
jbcs-httpd24-brotli (Red Hat package)
mod_http2
jbcs-httpd24-nghttp2 (Red Hat package)
apache2-utils-debuginfo
apache2-debugsource
apache2-debuginfo
apache2
apache2-doc
apache2-example-pages
apache2-worker
apache2-prefork-debuginfo
apache2-utils
apache2-worker-debuginfo
apache2-devel
apache2-prefork
apache2-event-debuginfo
apache2-event
EasyApache
IBM Rational Build Forge
JBoss Core Services

How to mitigate CVE-2021-31618

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.48
jbcs-httpd24 (Red Hat package) - addressed in versions 1-18.el8jbcs, 1-18.jbcs.el7
jbcs-httpd24-apr-util (Red Hat package) - addressed in versions 1.6.1-82.el8jbcs, 1.6.1-82.jbcs.el7
jbcs-httpd24-apr (Red Hat package) - addressed in versions 1.6.3-105.el8jbcs, 1.6.3-105.jbcs.el7
jbcs-httpd24-mod_http2 (Red Hat package) - addressed in versions 1.15.7-17.el8jbcs, 1.15.7-17.jbcs.el7
jbcs-httpd24-mod_md (Red Hat package) - addressed in versions 2.0.8-36.el8jbcs, 2.0.8-36.jbcs.el7
apache2 (Debian package) - update to 2.4.38-3+deb10u5
jbcs-httpd24-httpd (Red Hat package) - addressed in versions 2.4.37-74.el8jbcs, 2.4.37-74.jbcs.el7
jbcs-httpd24-mod_security (Red Hat package) - addressed in versions 2.9.2-63.GA.el8jbcs, 2.9.2-63.GA.jbcs.el7
jbcs-httpd24-jansson (Red Hat package) - addressed in versions 2.11-55.el8jbcs, 2.11-55.jbcs.el7
EasyApache - update to 4 2021-6-2
jbcs-httpd24-curl (Red Hat package) - addressed in versions 7.77.0-2.el8jbcs, 7.77.0-2.jbcs.el7
IBM Rational Build Forge - update to 8.0.0.21
jbcs-httpd24-openssl-pkcs11 (Red Hat package) - update to 0.4.10-20.el8jbcs
jbcs-httpd24-openssl-chil (Red Hat package) - update to 1.0.0-5.el8jbcs
jbcs-httpd24-brotli (Red Hat package) - update to 1.0.6-40.el8jbcs
mod_http2 - addressed in versions 1.15.19-1.fc33, 1.15.19-1.fc34
jbcs-httpd24-nghttp2 (Red Hat package) - update to 1.39.2-37.el8jbcs
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-debugsource - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-debuginfo - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2 - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-doc - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-example-pages - update to 2.4.23-29.74.1
apache2-worker - 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-utils - 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-devel - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
apache2-prefork - addressed in versions 2.4.23-29.74.1, 2.4.33-3.50.1, 2.4.43-3.22.1
JBoss Core Services - update to 2.4.37 SP8
apache2-event-debuginfo - update to 2.4.43-3.22.1
apache2-event - update to 2.4.43-3.22.1

External References

Related Security Bulletins