Use-after-free in WebKitGTK+ - CVE-2022-22628

 

Use-after-free in WebKitGTK+ - CVE-2022-22628

Published: March 14, 2022


Vulnerability identifier: #VU61336
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-22628
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when processing HTML content in WebKit. A remote attacker can trick the victim to visit a specially crafted website, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

WebKitGTK+
WPE WebKit
Oracle Linux
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat CodeReady Linux Builder for x86_64
HPE Helion Openstack
SUSE OpenStack Cloud
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 CodeReady Linux Builder for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
watchOS
macOS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
Apple iOS
iPadOS
tvOS
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Ubuntu
Submariner
Migration Toolkit for Runtimes
Migration Toolkit for Virtualization
Red Hat Advanced Cluster Management for Kubernetes
OpenShift Logging
Red Hat Migration Toolkit for Applications
Red Hat OpenShift Serverless
OpenShift Service Mesh
OpenShift Virtualization
Secondary Scheduler Operator for Red Hat OpenShift (OSSO)
OpenShift API for Data Protection (OADP)
Migration Toolkit for Containers
webkit2gtk (Debian package)
wpewebkit (Debian package)
libwebkit2gtk-4.0-37 (Ubuntu package)
libjavascriptcoregtk-4.0-18 (Ubuntu package)
webkit2gtk-4_0-injected-bundles-debuginfo
webkit2gtk3-devel
libwebkit2gtk3-lang
typelib-1_0-JavaScriptCore-4_0
typelib-1_0-WebKit2-4_0
typelib-1_0-WebKit2WebExtension-4_0
webkit2gtk-4_0-injected-bundles
libwebkit2gtk-4_0-37-debuginfo
libwebkit2gtk-4_0-37
webkit2gtk3-debugsource
libjavascriptcoregtk-4_0-18
libjavascriptcoregtk-4_0-18-debuginfo
webkit2gtk3-minibrowser-debuginfo
libwebkit2gtk-4_0-37-32bit-debuginfo
libwebkit2gtk-4_0-37-32bit
libjavascriptcoregtk-4_0-18-32bit-debuginfo
libjavascriptcoregtk-4_0-18-32bit
webkit2gtk3-minibrowser
webkit-jsc-4
webkit-jsc-4-debuginfo
net-libs/webkit-gtk
webkit2gtk3 (Red Hat package)
webkitgtk4 (Red Hat package)
glib2 (Red Hat package)
Apple Safari
OpenShift Developer Tools and Services

How to mitigate CVE-2022-22628

Install updates from vendor's website.

WebKitGTK+ - addressed in versions 2.34.7, 2.36.0
Submariner - update to 0.14.0
Migration Toolkit for Runtimes - update to 1.0.1
Red Hat OpenShift Serverless - addressed in versions 1.26.0, 1.27.0
Secondary Scheduler Operator for Red Hat OpenShift (OSSO) - update to 1.1.1
OpenShift API for Data Protection (OADP) - update to 1.1.2
Migration Toolkit for Containers - update to 1.7.6
OpenShift Service Mesh - update to 2.3.1
Migration Toolkit for Virtualization - update to 2.4.3
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.6.3, 2.6.4
webkit2gtk (Debian package) - addressed in versions 2.36.0-3~deb10u1, 2.36.0-3~deb11u1
wpewebkit (Debian package) - update to 2.36.0-2~deb11u1
WPE WebKit - addressed in versions 2.34.7, 2.36.0
OpenShift Logging - addressed in versions 5.3.14, 5.4.8, 5.5.5
Red Hat Migration Toolkit for Applications - update to 6.0.1
watchOS - update to 8.5 19T242
macOS - update to 12.3 21E230
Apple Safari - update to 15.4
Apple iOS - update to 15.4 19E241
iPadOS - update to 15.4 19E241
tvOS - update to 15.4 19L440
libwebkit2gtk-4.0-37 (Ubuntu package) - addressed in versions 2.36.0-0ubuntu0.20.04.3, 2.36.0-0ubuntu0.21.10.3
libjavascriptcoregtk-4.0-18 (Ubuntu package) - addressed in versions 2.36.0-0ubuntu0.20.04.3, 2.36.0-0ubuntu0.21.10.3
webkit2gtk-4_0-injected-bundles-debuginfo - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
webkit2gtk3-devel - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
libwebkit2gtk3-lang - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
typelib-1_0-JavaScriptCore-4_0 - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
typelib-1_0-WebKit2-4_0 - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
typelib-1_0-WebKit2WebExtension-4_0 - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
webkit2gtk-4_0-injected-bundles - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
libwebkit2gtk-4_0-37-debuginfo - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
libwebkit2gtk-4_0-37 - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
webkit2gtk3-debugsource - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
libjavascriptcoregtk-4_0-18 - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
libjavascriptcoregtk-4_0-18-debuginfo - addressed in versions 2.36.0-2.96.1, 2.36.0-150000.3.100.1, 2.36.0-150200.32.1
webkit2gtk3-minibrowser-debuginfo - update to 2.36.0-150200.32.1
libwebkit2gtk-4_0-37-32bit-debuginfo - update to 2.36.0-150200.32.1
libwebkit2gtk-4_0-37-32bit - update to 2.36.0-150200.32.1
libjavascriptcoregtk-4_0-18-32bit-debuginfo - update to 2.36.0-150200.32.1
libjavascriptcoregtk-4_0-18-32bit - update to 2.36.0-150200.32.1
webkit2gtk3-minibrowser - update to 2.36.0-150200.32.1
webkit-jsc-4 - update to 2.36.0-150200.32.1
webkit-jsc-4-debuginfo - update to 2.36.0-150200.32.1
net-libs/webkit-gtk - update to 2.36.7
webkit2gtk3 (Red Hat package) - addressed in versions 2.36.7-1.el8, 2.36.7-1.el9
webkitgtk4 (Red Hat package) - update to 2.48.3-2.el7_9
glib2 (Red Hat package) - update to 2.56.4-159.el8
OpenShift Developer Tools and Services - update to 4.9
OpenShift Virtualization - addressed in versions 4.11.1, 4.12.0

External References

Related Security Bulletins