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

 

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

Published: April 27, 2021 / Updated: June 3, 2021


Vulnerability identifier: #VU52652
CSH Severity: Critical
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-30661
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when processing web content within the WebKit Storage component. A remote attacker can create a specially crafted web page, trick the victim into visiting 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.

Note, the vulnerability is being actively exploited in the wild.


Affected software

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

How to mitigate CVE-2021-30661

Install updates from vendor's website.

macOS - update to 11.3 20E232
Cloud Pak for Security (CP4S) - update to 1.8.0.0
WebKitGTK+ - update to 2.32.1
watchOS - update to 7.4 18T195
Apple iOS - addressed in versions 12.5.3 16H41, 14.5 18E199
tvOS - update to 14.5 18L204
iPadOS - update to 14.5 18E199
Web Terminal - update to 1.3
webkit2gtk3-devel - addressed in versions 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.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.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
libwebkit2gtk-4_0-37 - addressed in versions 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
libwebkit2gtk-4_0-37-debuginfo - addressed in versions 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.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.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.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.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.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
webkit2gtk3-debugsource - addressed in versions 2.34.3-2.82.1, 2.34.3-3.92.1, 2.34.3-23.3
libwebkit2gtk3-lang - addressed in versions 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

External References

Related Security Bulletins