Buffer overflow in WebKitGTK+ and WPE WebKit - CVE-2022-32885

 

Buffer overflow in WebKitGTK+ and WPE WebKit - CVE-2022-32885

Published: March 20, 2023 / Updated: April 21, 2023


Vulnerability identifier: #VU73806
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-32885
CWE-ID: CWE-119
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 a boundary error in WebKit when processing HTML content. A remote attacker can create a specially crafted website, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

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


Affected software

WebKitGTK+
WPE WebKit
Debian Linux
Oracle Linux
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Software Development Kit 12
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
Anolis OS
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
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Development Tools Module
Desktop Applications Module
Basesystem Module
openSUSE Leap
Ubuntu
Fedora
macOS
iPadOS
Apple iOS
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
webkit2gtk3-jsc-devel
webkit2gtk3
webkit2gtk3-devel
webkit2gtk3-jsc
libwebkit2gtk-4.0-37 (Ubuntu package)
libjavascriptcoregtk-4.0-18 (Ubuntu package)
libjavascriptcoregtk-5.0-0 (Ubuntu package)
libwebkit2gtk-5.0-0 (Ubuntu package)
wpewebkit (Debian package)
webkit2gtk3-debugsource
libwebkit2gtk-4_0-37-debuginfo
libwebkit2gtk3-lang
webkit2gtk-4_0-injected-bundles-debuginfo
typelib-1_0-JavaScriptCore-4_0
libwebkit2gtk-4_0-37
libjavascriptcoregtk-4_0-18-debuginfo
libjavascriptcoregtk-4_0-18
webkit2gtk-4_0-injected-bundles
typelib-1_0-WebKit2WebExtension-4_0
typelib-1_0-WebKit2-4_0
libjavascriptcoregtk-4_1-0-32bit
libwebkit2gtk-4_1-0-32bit-debuginfo
libwebkit2gtk-4_1-0-32bit
libjavascriptcoregtk-4_1-0-32bit-debuginfo
libjavascriptcoregtk-4_0-18-32bit
libwebkit2gtk-4_0-37-32bit-debuginfo
libjavascriptcoregtk-4_0-18-32bit-debuginfo
libwebkit2gtk-4_0-37-32bit
webkit2gtk3-minibrowser
libjavascriptcoregtk-5_0-0
webkit2gtk3-soup2-debugsource
webkit2gtk-5_0-injected-bundles
typelib-1_0-WebKit2-5_0
libwebkit2gtk-5_0-0-debuginfo
webkit-jsc-4
webkit-jsc-4-debuginfo
webkit2gtk4-debugsource
webkit2gtk-4_1-injected-bundles
webkit-jsc-5.0
typelib-1_0-WebKit2WebExtension-4_1
webkit2gtk4-minibrowser-debuginfo
webkit2gtk-4_1-injected-bundles-debuginfo
libwebkit2gtk-4_1-0
libjavascriptcoregtk-5_0-0-debuginfo
webkit2gtk3-soup2-minibrowser-debuginfo
WebKit2GTK-4.0-lang
WebKit2GTK-4.1-lang
WebKit2GTK-5.0-lang
typelib-1_0-WebKit2WebExtension-5_0
webkit2gtk3-soup2-devel
typelib-1_0-JavaScriptCore-5_0
webkit2gtk4-minibrowser
typelib-1_0-JavaScriptCore-4_1
libwebkit2gtk-4_1-0-debuginfo
webkit2gtk3-soup2-minibrowser
webkit2gtk-5_0-injected-bundles-debuginfo
webkit2gtk3-minibrowser-debuginfo
libwebkit2gtk-5_0-0
libjavascriptcoregtk-4_1-0
webkit-jsc-5.0-debuginfo
webkit-jsc-4.1
typelib-1_0-WebKit2-4_1
webkit-jsc-4.1-debuginfo
libjavascriptcoregtk-4_1-0-debuginfo
webkit2gtk4-devel
net-libs/webkit-gtk
libjavascriptcoregtk-6.0-1 (Ubuntu package)
libwebkitgtk-6.0-4 (Ubuntu package)
webkitgtk
webkit2gtk (Debian package)
webkit2gtk3 (Red Hat package)
webkitgtk4 (Red Hat package)
Apple Safari
libjavascriptcoregtk-4.1-0 (Ubuntu package)
libwebkit2gtk-4.1-0 (Ubuntu package)

How to mitigate CVE-2022-32885

Install update from vendor's website.

WebKitGTK+ - addressed in versions 2.38.6, 2.40.1
WPE WebKit - addressed in versions 2.38.6, 2.40.1
Apple Safari - update to 15.6
webkit2gtk3-jsc-devel - addressed in versions 2.38.5-1.0.1, 2.40.5-1.0.1
webkit2gtk3 - addressed in versions 2.38.5-1.0.1, 2.40.5-1.0.1
webkit2gtk3-devel - addressed in versions 2.38.5-1.0.1, 2.40.5-1.0.1
webkit2gtk3-jsc - addressed in versions 2.38.5-1.0.1, 2.40.5-1.0.1
libwebkit2gtk-4.0-37 (Ubuntu package) - addressed in versions 2.38.6-0ubuntu0.20.04.1, 2.38.6-0ubuntu0.22.04.1, 2.38.6-0ubuntu0.22.10.1, 2.40.1-0ubuntu0.23.04.1
libjavascriptcoregtk-4.0-18 (Ubuntu package) - addressed in versions 2.38.6-0ubuntu0.20.04.1, 2.38.6-0ubuntu0.22.04.1, 2.38.6-0ubuntu0.22.10.1, 2.40.1-0ubuntu0.23.04.1
libjavascriptcoregtk-4.1-0 (Ubuntu package) - addressed in versions 2.38.6-0ubuntu0.22.04.1, 2.38.6-0ubuntu0.22.10.1, 2.40.1-0ubuntu0.23.04.1
libwebkit2gtk-4.1-0 (Ubuntu package) - addressed in versions 2.38.6-0ubuntu0.22.04.1, 2.38.6-0ubuntu0.22.10.1, 2.40.1-0ubuntu0.23.04.1
libjavascriptcoregtk-5.0-0 (Ubuntu package) - update to 2.38.6-0ubuntu0.22.10.1
libwebkit2gtk-5.0-0 (Ubuntu package) - update to 2.38.6-0ubuntu0.22.10.1
wpewebkit (Debian package) - update to 2.38.6-1~deb11u1
webkit2gtk3-debugsource - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
libwebkit2gtk-4_0-37-debuginfo - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
libwebkit2gtk3-lang - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1
webkit2gtk-4_0-injected-bundles-debuginfo - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
typelib-1_0-JavaScriptCore-4_0 - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
libwebkit2gtk-4_0-37 - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_0-18-debuginfo - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_0-18 - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
webkit2gtk-4_0-injected-bundles - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
typelib-1_0-WebKit2WebExtension-4_0 - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
typelib-1_0-WebKit2-4_0 - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
webkit2gtk3-devel - addressed in versions 2.38.6-2.136.1, 2.38.6-150000.3.139.1, 2.38.6-150200.72.1, 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_1-0-32bit - update to 2.38.6-150400.4.39.1
libwebkit2gtk-4_1-0-32bit-debuginfo - update to 2.38.6-150400.4.39.1
libwebkit2gtk-4_1-0-32bit - update to 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_1-0-32bit-debuginfo - update to 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_0-18-32bit - update to 2.38.6-150400.4.39.1
libwebkit2gtk-4_0-37-32bit-debuginfo - update to 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_0-18-32bit-debuginfo - update to 2.38.6-150400.4.39.1
libwebkit2gtk-4_0-37-32bit - update to 2.38.6-150400.4.39.1
webkit2gtk3-minibrowser - update to 2.38.6-150400.4.39.1
libjavascriptcoregtk-5_0-0 - update to 2.38.6-150400.4.39.1
webkit2gtk3-soup2-debugsource - update to 2.38.6-150400.4.39.1
webkit2gtk-5_0-injected-bundles - update to 2.38.6-150400.4.39.1
typelib-1_0-WebKit2-5_0 - update to 2.38.6-150400.4.39.1
libwebkit2gtk-5_0-0-debuginfo - update to 2.38.6-150400.4.39.1
webkit-jsc-4 - update to 2.38.6-150400.4.39.1
webkit-jsc-4-debuginfo - update to 2.38.6-150400.4.39.1
webkit2gtk4-debugsource - update to 2.38.6-150400.4.39.1
webkit2gtk-4_1-injected-bundles - update to 2.38.6-150400.4.39.1
webkit-jsc-5.0 - update to 2.38.6-150400.4.39.1
typelib-1_0-WebKit2WebExtension-4_1 - update to 2.38.6-150400.4.39.1
webkit2gtk4-minibrowser-debuginfo - update to 2.38.6-150400.4.39.1
webkit2gtk-4_1-injected-bundles-debuginfo - update to 2.38.6-150400.4.39.1
libwebkit2gtk-4_1-0 - update to 2.38.6-150400.4.39.1
libjavascriptcoregtk-5_0-0-debuginfo - update to 2.38.6-150400.4.39.1
webkit2gtk3-soup2-minibrowser-debuginfo - update to 2.38.6-150400.4.39.1
WebKit2GTK-4.0-lang - update to 2.38.6-150400.4.39.1
WebKit2GTK-4.1-lang - update to 2.38.6-150400.4.39.1
WebKit2GTK-5.0-lang - update to 2.38.6-150400.4.39.1
typelib-1_0-WebKit2WebExtension-5_0 - update to 2.38.6-150400.4.39.1
webkit2gtk3-soup2-devel - update to 2.38.6-150400.4.39.1
typelib-1_0-JavaScriptCore-5_0 - update to 2.38.6-150400.4.39.1
webkit2gtk4-minibrowser - update to 2.38.6-150400.4.39.1
typelib-1_0-JavaScriptCore-4_1 - update to 2.38.6-150400.4.39.1
libwebkit2gtk-4_1-0-debuginfo - update to 2.38.6-150400.4.39.1
webkit2gtk3-soup2-minibrowser - update to 2.38.6-150400.4.39.1
webkit2gtk-5_0-injected-bundles-debuginfo - update to 2.38.6-150400.4.39.1
webkit2gtk3-minibrowser-debuginfo - update to 2.38.6-150400.4.39.1
libwebkit2gtk-5_0-0 - update to 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_1-0 - update to 2.38.6-150400.4.39.1
webkit-jsc-5.0-debuginfo - update to 2.38.6-150400.4.39.1
webkit-jsc-4.1 - update to 2.38.6-150400.4.39.1
typelib-1_0-WebKit2-4_1 - update to 2.38.6-150400.4.39.1
webkit-jsc-4.1-debuginfo - update to 2.38.6-150400.4.39.1
libjavascriptcoregtk-4_1-0-debuginfo - update to 2.38.6-150400.4.39.1
webkit2gtk4-devel - update to 2.38.6-150400.4.39.1
net-libs/webkit-gtk - update to 2.40.1
libjavascriptcoregtk-6.0-1 (Ubuntu package) - update to 2.40.1-0ubuntu0.23.04.1
libwebkitgtk-6.0-4 (Ubuntu package) - update to 2.40.1-0ubuntu0.23.04.1
webkit2gtk3 - update to 2.40.1-1.fc36
webkitgtk - addressed in versions 2.40.1-1.fc37, 2.40.1-1.fc38
webkit2gtk (Debian package) - update to 2.40.1-1~deb11u1
webkit2gtk3 (Red Hat package) - addressed in versions 2.40.5-1.el8, 2.40.5-1.el9, 2.46.1-1.el9_0, 2.46.1-1.el9_2, 2.46.3-1.el8_2, 2.46.3-1.el8_4, 2.46.3-1.el8_6, 2.46.3-1.el8_8
webkitgtk4 (Red Hat package) - update to 2.48.3-2.el7_9
macOS - update to 12.5 21G72
iPadOS - update to 15.6 19G71
Apple iOS - update to 15.6 19G71

External References

Related Security Bulletins