Integer overflow in Apache HTTP Server - CVE-2022-22721

 

Integer overflow in Apache HTTP Server - CVE-2022-22721

Published: March 14, 2022 / Updated: October 2, 2024


Vulnerability identifier: #VU61285
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-22721
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the ap_escape_html2() function when parsing LimitXMLRequestBody. A remote attacker can send a specially crafted request to the web server, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Apache HTTP Server
Oracle Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
IBM i
SUSE OpenStack Cloud Crowbar
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
macOS
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
Oracle Solaris
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 Realtime Extension
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
openEuler
Fedora
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)
jbcs-httpd24-mod_http2 (Red Hat package)
jbcs-httpd24-nghttp2 (Red Hat package)
apache2-prefork
apache2
apache2-doc
apache2-example-pages
apache2-utils
apache2-worker
apache2-devel
apache2-debuginfo
apache2-debugsource
jbcs-httpd24-mod_md (Red Hat package)
apache2-utils-debuginfo
apache2-worker-debuginfo
apache2-prefork-debuginfo
apache2-bin (Ubuntu package)
apache2 (Ubuntu package)
mod_md
mod_proxy_html
httpd-debuginfo
httpd-devel
mod_ldap
httpd-tools
mod_ssl
httpd
mod_session
httpd-debugsource
httpd-help
httpd-filesystem
jbcs-httpd24-httpd (Red Hat package)
apache2-event
apache2-event-debuginfo
httpd (Red Hat package)
app-admin/apache-tools
www-servers/apache
jbcs-httpd24-mod_security (Red Hat package)
jbcs-httpd24-curl (Red Hat package)
JBoss Core Services
IBM Security SiteProtector System
EasyApache
Dell Secure Connect Gateway
IBM Rational Build Forge
IBM Netezza Performance Portal
IBM Aspera Orchestrator
Dell EMC Unisphere Central
IBM Tivoli Monitoring
Oracle Enterprise Manager Ops Center
EMC ECS
Watson Studio on Cloud Pak for Data
Maximo Application Suite - IoT Component
IBM Aspera Faspex for Linux
IBM Aspera Faspex for Windows
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Gaia

How to mitigate CVE-2022-22721

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.53
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.18
EasyApache - update to 4 2022-3-16
Dell Secure Connect Gateway - update to 5.12.00.10
IBM Rational Build Forge - update to 8.0.0.23
macOS - addressed in versions 10.15.7 19H1922, 11.6.6 20G624, 12.4 21F79
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
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
IBM Netezza Performance Portal - update to 2.1.1.14
apache2-prefork - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2 - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-doc - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-example-pages - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.51-35.13.1, 2.4.66-150400.6.57.1
apache2-utils - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-worker - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-devel - addressed in versions 2.2.34-70.41.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-debuginfo - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-debugsource - addressed in versions 2.2.34-70.41.1, 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
jbcs-httpd24-mod_md (Red Hat package) - addressed in versions 2.4.0-18.el7jbcs, 2.4.0-18.el8jbcs
apache2-utils-debuginfo - addressed in versions 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-worker-debuginfo - addressed in versions 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-prefork-debuginfo - addressed in versions 2.4.23-29.88.1, 2.4.33-150000.3.66.1, 2.4.51-35.13.1, 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
apache2-bin (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.22, 2.4.41-4ubuntu3.10, 2.4.48-3.1ubuntu3.3, 2.4.182ubuntu3.17+esm5
apache2 (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.22, 2.4.41-4ubuntu3.10, 2.4.48-3.1ubuntu3.3, 2.4.182ubuntu3.17+esm5
mod_md - update to 2.4.43-14
mod_proxy_html - update to 2.4.43-14
httpd-debuginfo - update to 2.4.43-14
httpd-devel - update to 2.4.43-14
mod_ldap - update to 2.4.43-14
httpd-tools - update to 2.4.43-14
mod_ssl - update to 2.4.43-14
httpd - update to 2.4.43-14
mod_session - update to 2.4.43-14
httpd-debugsource - update to 2.4.43-14
httpd-help - update to 2.4.43-14
httpd-filesystem - update to 2.4.43-14
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.42.1, 2.4.66-150400.6.57.1
apache2-event-debuginfo - addressed in versions 2.4.51-150200.3.42.1, 2.4.66-150400.6.57.1
httpd - addressed in versions 2.4.53-1.fc34, 2.4.53-1.fc35, 2.4.53-1.fc36
httpd (Red Hat package) - update to 2.4.53-7.el9
app-admin/apache-tools - update to 2.4.54
www-servers/apache - update to 2.4.54
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.2
IBM Aspera Orchestrator - update to 4.0.1.2b9681
Dell EMC Unisphere Central - update to 4.0.10.1673904
IBM Aspera Faspex for Linux - update to 4.4.2
IBM Aspera Faspex for Windows - update to 4.4.2
Watson Studio on Cloud Pak for Data - addressed in versions 4.8.7, 5.1.0
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.0.0.5.173
IBM Tivoli Monitoring - update to 6.3.0.7 Plus Service Pack 5
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
Gaia - update to R81.10 Take 55

External References

Related Security Bulletins