Use-after-free in macOS - CVE-2021-1788

 

Use-after-free in macOS - CVE-2021-1788

Published: February 2, 2021


Vulnerability identifier: #VU50231
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-2021-1788
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 in WebKit. A remote attacker can create a specially crafted web page, trick the victim into opening it, 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

macOS
Gentoo Linux
SUSE Manager Proxy
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
HPE Helion Openstack
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
iPadOS
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
Ubuntu
Fedora
Apple iOS
WebKitGTK+
WPE WebKit
webkit2gtk (Debian package)
libjavascriptcoregtk-4.0-18 (Ubuntu package)
libwebkit2gtk-4.0-37 (Ubuntu package)
webkit2gtk3
libwebkit2gtk-4_0-37-debuginfo
libwebkit2gtk-4_0-37
libjavascriptcoregtk-4_0-18-debuginfo
libjavascriptcoregtk-4_0-18
webkit2gtk3-devel
webkit2gtk3-debugsource
typelib-1_0-WebKit2-4_0
typelib-1_0-JavaScriptCore-4_0
webkit2gtk-4_0-injected-bundles
webkit2gtk-4_0-injected-bundles-debuginfo
libwebkit2gtk3-lang
typelib-1_0-WebKit2WebExtension-4_0
webkitgtk4 (Red Hat package)
Apple Safari

How to mitigate CVE-2021-1788

Install updates from vendor's website.

macOS - update to 11.2 20D64
WebKitGTK+ - update to 2.32.0
WPE WebKit - update to 2.32.0
webkit2gtk (Debian package) - update to 2.32.1-1~deb10u1
Apple Safari - update to 14.0.3
iPadOS - update to 14.4 18D52
libjavascriptcoregtk-4.0-18 (Ubuntu package) - addressed in versions 2.32.0-0ubuntu0.18.04.1, 2.32.0-0ubuntu0.20.04.1, 2.32.0-0ubuntu0.20.10.1
libwebkit2gtk-4.0-37 (Ubuntu package) - addressed in versions 2.32.0-0ubuntu0.18.04.1, 2.32.0-0ubuntu0.20.04.1, 2.32.0-0ubuntu0.20.10.1
webkit2gtk3 - addressed in versions 2.32.0-1.fc33, 2.32.0-1.fc34
libwebkit2gtk-4_0-37-debuginfo - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
libwebkit2gtk-4_0-37 - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
libjavascriptcoregtk-4_0-18-debuginfo - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
libjavascriptcoregtk-4_0-18 - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
webkit2gtk3-devel - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
webkit2gtk3-debugsource - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
typelib-1_0-WebKit2-4_0 - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
typelib-1_0-JavaScriptCore-4_0 - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
webkit2gtk-4_0-injected-bundles - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
webkit2gtk-4_0-injected-bundles-debuginfo - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
libwebkit2gtk3-lang - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
typelib-1_0-WebKit2WebExtension-4_0 - addressed in versions 2.32.0-3.15.1, 2.32.0-3.74.1, 2.32.1-2.63.3, 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
webkitgtk4 (Red Hat package) - update to 2.48.3-2.el7_9
Apple iOS - update to 14.4 18D52

External References

Related Security Bulletins