Out-of-bounds read in Apache HTTP Server - CVE-2022-28615

 

Out-of-bounds read in Apache HTTP Server - CVE-2022-28615

Published: June 8, 2022 / Updated: June 26, 2023


Vulnerability identifier: #VU64083
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-28615
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the ap_strcmp_match() function when processing an extremely large input buffer. A remote attacker can send a specially crafted HTTP request to the web server, trigger an out-of-bounds read error and read contents of memory on the system.

Note, the code distributed with the Apache HTTP Server cannot be coerced into such a call. The vulnerability can affect third-party modules or lua scripts that use ap_strcmp_match().


Affected software

Apache HTTP Server
IBM HTTP Server
Gentoo Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
Oracle Linux
Amazon Linux AMI
QuTScloud
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
F5OS
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
IBM i
HPE Helion Openstack
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
Slackware Linux
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Server Applications
openSUSE Leap
openEuler
Fedora
QuTS hero
BIG-IP
PowerScale OneFS
Tenable.sc
httpd24-httpd (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-mod_proxy_cluster (Red Hat package)
jbcs-httpd24-apr-util (Red Hat package)
mod_http2
jbcs-httpd24-mod_http2 (Red Hat package)
jbcs-httpd24-nghttp2 (Red Hat package)
mod_md
jbcs-httpd24-mod_md (Red Hat package)
apache2
apache2-debuginfo
apache2-debugsource
apache2-example-pages
apache2-prefork
apache2-prefork-debuginfo
apache2-utils
apache2-doc
apache2-worker-debuginfo
apache2-worker
apache2-utils-debuginfo
apache2 (Ubuntu package)
apache2-bin (Ubuntu package)
apache2-devel
httpd
httpd-devel
httpd-tools
mod_ldap
mod_proxy_html
mod_session
mod_ssl
httpd-filesystem
httpd-manual
httpd-debuginfo
httpd-debugsource
httpd-help
jbcs-httpd24-httpd (Red Hat package)
apache2-event
apache2-event-debuginfo
httpd (Red Hat package)
www-servers/apache
app-admin/apache-tools
jbcs-httpd24-mod_security (Red Hat package)
jbcs-httpd24-curl (Red Hat package)
JBoss Core Services
IBM Security SiteProtector System
QNAP QTS
IBM Aspera Faspex for Linux
IBM Aspera Faspex for Windows
Traffix SDC
IBM Tivoli Monitoring
IBM Rational Build Forge
IBM Aspera Orchestrator
App Connect Enterprise Certified Container
HP-UX
EMC ECS
Watson Studio on Cloud Pak for Data
Maximo Application Suite - IoT Component
IBM Cloud Pak System

How to mitigate CVE-2022-28615

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.54
Tenable.sc - update to Patch 202206.1
httpd24-httpd (Red Hat package) - update to 2.4.34-23.el7.5
JBoss Core Services - update to 2.4.51 SP1
IBM Security SiteProtector System - update to 3.1.1.19
QNAP QTS - addressed in versions 4.5.4.2125 20220810, 5.0.0.2131 20220815
IBM Aspera Faspex for Linux - update to 4.4.2 PL2
IBM Aspera Faspex for Windows - update to 4.4.2 PL2
IBM Rational Build Forge - update to 8.0.0.24
HP-UX - update to b.11.31
jbcs-httpd24-openssl-pkcs11 (Red Hat package) - addressed in versions 0.4.10-32.el7jbcs, 0.4.10-32.el8jbcs
jbcs-httpd24-openssl-chil (Red Hat package) - addressed in versions 1.0.0-17.el7jbcs, 1.0.0-17.el8jbcs
jbcs-httpd24-mod_proxy_cluster (Red Hat package) - addressed in versions 1.3.17-13.el7jbcs, 1.3.17-13.el8jbcs
jbcs-httpd24-apr-util (Red Hat package) - addressed in versions 1.6.1-99.el7jbcs, 1.6.1-99.el8jbcs
mod_http2 - update to 1.15.7-5
jbcs-httpd24-mod_http2 (Red Hat package) - addressed in versions 1.15.19-20.el7jbcs, 1.15.19-20.el8jbcs
jbcs-httpd24-nghttp2 (Red Hat package) - addressed in versions 1.43.0-11.el7jbcs, 1.43.0-11.el8jbcs
mod_md - update to 2.0.8-8
IBM Cloud Pak System - update to 2.3.4.0
jbcs-httpd24-mod_md (Red Hat package) - addressed in versions 2.4.0-18.el7jbcs, 2.4.0-18.el8jbcs
apache2 - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-debugsource - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-example-pages - addressed in versions 2.4.23-29.91.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-prefork - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-prefork-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-utils - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-doc - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-worker-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-worker - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-utils-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2 (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.24, 2.4.29-1ubuntu4.25, 2.4.41-4ubuntu3.12, 2.4.48-3.1ubuntu3.5, 2.4.52-1ubuntu4.1, 2.4.71ubuntu4.22+esm6
apache2-bin (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.24, 2.4.29-1ubuntu4.25, 2.4.41-4ubuntu3.12, 2.4.48-3.1ubuntu3.5, 2.4.52-1ubuntu4.1, 2.4.71ubuntu4.22+esm6
apache2-devel - addressed in versions 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
httpd - update to 2.4.37-51.0.1
httpd-devel - update to 2.4.37-51.0.1
httpd-tools - update to 2.4.37-51.0.1
mod_ldap - update to 2.4.37-51.0.1
mod_proxy_html - update to 2.4.37-51.0.1
mod_session - update to 2.4.37-51.0.1
mod_ssl - update to 2.4.37-51.0.1
httpd-filesystem - update to 2.4.37-51.0.1
httpd-manual - update to 2.4.37-51.0.1
httpd - update to 2.4.43-16
mod_proxy_html - update to 2.4.43-16
httpd-tools - update to 2.4.43-16
mod_md - update to 2.4.43-16
mod_ldap - update to 2.4.43-16
httpd-debuginfo - update to 2.4.43-16
httpd-devel - update to 2.4.43-16
mod_session - update to 2.4.43-16
mod_ssl - update to 2.4.43-16
httpd-debugsource - update to 2.4.43-16
httpd-help - update to 2.4.43-16
httpd-filesystem - update to 2.4.43-16
jbcs-httpd24-httpd (Red Hat package) - addressed in versions 2.4.51-37.el7jbcs, 2.4.51-37.el8jbcs
apache2-event - addressed in versions 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-event-debuginfo - addressed in versions 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
httpd (Red Hat package) - update to 2.4.53-7.el9
www-servers/apache - update to 2.4.54
app-admin/apache-tools - update to 2.4.54
httpd - addressed in versions 2.4.54-1.fc35, 2.4.54-3.fc36
httpd - update to 2.4.54-3
jbcs-httpd24-mod_security (Red Hat package) - addressed in versions 2.9.3-22.el7jbcs, 2.9.3-22.el8jbcs
EMC ECS - update to 3.7.0.3
IBM Aspera Orchestrator - update to 4.0.1.2b9681
Watson Studio on Cloud Pak for Data - addressed in versions 4.8.7, 5.1.0
App Connect Enterprise Certified Container - addressed in versions 5.0.1, 6.1.0
jbcs-httpd24-curl (Red Hat package) - addressed in versions 7.86.0-2.el7jbcs, 7.86.0-2.el8jbcs
Maximo Application Suite - IoT Component - addressed in versions 8.7.20, 8.8.16, 9.0.6
PowerScale OneFS - addressed in versions 9.1.0.28, 9.2.1.22, 9.4.0.13, 9.5.0.1

External References

Related Security Bulletins