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

 

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

Published: June 8, 2022 / Updated: April 21, 2023


Vulnerability identifier: #VU64088
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-30556
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 when processing HTTP requests in mod_lua with websockets. A remote attacker can force the module to return lengths to applications calling r:wsread() that point past the end of the storage allocated for the buffer and gain access to sensitive information.


Affected software

Apache HTTP Server
IBM HTTP Server
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
Oracle Linux
Amazon Linux AMI
Gentoo Linux
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
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
Red Hat Enterprise Linux for Power, little endian
HPE Helion Openstack
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 Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
Slackware Linux
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
openEuler
Fedora
httpd24-httpd (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
apache2-bin (Ubuntu package)
apache2 (Ubuntu package)
apache2-debuginfo
apache2
apache2-doc
apache2-worker-debuginfo
apache2-worker
apache2-utils-debuginfo
apache2-utils
apache2-prefork-debuginfo
apache2-prefork
apache2-example-pages
apache2-debugsource
apache2-devel
httpd-filesystem
httpd
mod_proxy_html
httpd-tools
mod_md
mod_ldap
httpd-devel
mod_session
mod_ssl
httpd-debugsource
httpd-help
httpd-debuginfo
apache2-event
apache2-event-debuginfo
httpd (Red Hat package)
www-servers/apache
app-admin/apache-tools
QuTS hero
PowerScale OneFS
IBM Security SiteProtector System
QNAP QTS
IBM Aspera Faspex for Windows
IBM Aspera Faspex for Linux
IBM Tivoli Monitoring
IBM Rational Build Forge
IBM Aspera Orchestrator
App Connect Enterprise Certified Container
EMC ECS
Maximo Application Suite - IoT Component

How to mitigate CVE-2022-30556

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.54
httpd24-httpd (Red Hat package) - update to 2.4.34-23.el7.5
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 Windows - update to 4.4.2 PL2
IBM Aspera Faspex for Linux - update to 4.4.2 PL2
IBM Rational Build Forge - update to 8.0.0.25
apache2-bin (Ubuntu package) - addressed in versions 2.4.7-1ubuntu4.22+esm8, 2.4.18-2ubuntu3.17+esm7, 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 (Ubuntu package) - addressed in versions 2.4.7-1ubuntu4.22+esm8, 2.4.18-2ubuntu3.17+esm7, 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-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 - 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-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-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-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-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-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-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-filesystem - update to 2.4.43-16
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-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-debuginfo - update to 2.4.43-16
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
httpd - addressed in versions 2.4.54-1.fc35, 2.4.54-3.fc36
httpd - update to 2.4.54-3
EMC ECS - update to 3.7.0.3
IBM Aspera Orchestrator - update to 4.0.1.2b9681
App Connect Enterprise Certified Container - addressed in versions 5.0.1, 6.1.0
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
www-servers/apache - update to 2.4.54
app-admin/apache-tools - update to 2.4.54

External References

Related Security Bulletins