Buffer overflow in macOS - CVE-2021-30665

 

Buffer overflow in macOS - CVE-2021-30665

Published: May 3, 2021 / Updated: June 3, 2021


Vulnerability identifier: #VU52815
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-30665
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

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. A remote attacker can create a specially crafted web page, 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.

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


Affected software

macOS
Gentoo Linux
Arch Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE CaaS Platform
SUSE Enterprise Storage
watchOS
SUSE OpenStack Cloud
Apple iOS
SUSE Linux Enterprise Server
tvOS
iPadOS
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Desktop Applications
Ubuntu
Fedora
webkit2gtk (Debian package)
libjavascriptcoregtk-4.0-18 (Ubuntu package)
libwebkit2gtk-4.0-37 (Ubuntu package)
webkit2gtk3
webkit2gtk3-devel
webkit2gtk3-debugsource
webkit2gtk-4_0-injected-bundles-debuginfo
webkit2gtk-4_0-injected-bundles
typelib-1_0-WebKit2WebExtension-4_0
typelib-1_0-WebKit2-4_0
libwebkit2gtk3-lang
typelib-1_0-JavaScriptCore-4_0
libwebkit2gtk-4_0-37-debuginfo
libwebkit2gtk-4_0-37
libjavascriptcoregtk-4_0-18-debuginfo
libjavascriptcoregtk-4_0-18
webkitgtk4 (Red Hat package)
typelib-1_0-Soup-2_4
libsoup-lang
libsoup-devel
libsoup-debugsource
libsoup-2_4-1-debuginfo
libsoup-2_4-1
WebKitGTK+
Apple Safari

How to mitigate CVE-2021-30665

Install updates from vendor's website.

macOS - update to 11.3.1 20E241
webkit2gtk (Debian package) - update to 2.32.3-1~deb10u1
WebKitGTK+ - update to 2.33.1
watchOS - update to 7.4.1 18T201
Apple iOS - addressed in versions 12.5.3 16H41, 14.5.1 18E212
tvOS - update to 14.6 18L569
Apple Safari - addressed in versions 14.1 14611.1.21.161.7, 14.1 15611.1.21.161.7
libjavascriptcoregtk-4.0-18 (Ubuntu package) - addressed in versions 2.32.3-0ubuntu0.18.04.1, 2.32.3-0ubuntu0.20.04.1, 2.32.3-0ubuntu0.21.04.1
libwebkit2gtk-4.0-37 (Ubuntu package) - addressed in versions 2.32.3-0ubuntu0.18.04.1, 2.32.3-0ubuntu0.20.04.1, 2.32.3-0ubuntu0.21.04.1
webkit2gtk3 - addressed in versions 2.32.3-1.fc33, 2.32.3-1.fc34
webkit2gtk3-devel - update to 2.32.3-3.77.3
webkit2gtk3-debugsource - update to 2.32.3-3.77.3
webkit2gtk-4_0-injected-bundles-debuginfo - update to 2.32.3-3.77.3
webkit2gtk-4_0-injected-bundles - update to 2.32.3-3.77.3
typelib-1_0-WebKit2WebExtension-4_0 - update to 2.32.3-3.77.3
typelib-1_0-WebKit2-4_0 - update to 2.32.3-3.77.3
libwebkit2gtk3-lang - update to 2.32.3-3.77.3
typelib-1_0-JavaScriptCore-4_0 - update to 2.32.3-3.77.3
libwebkit2gtk-4_0-37-debuginfo - update to 2.32.3-3.77.3
libwebkit2gtk-4_0-37 - update to 2.32.3-3.77.3
libjavascriptcoregtk-4_0-18-debuginfo - update to 2.32.3-3.77.3
libjavascriptcoregtk-4_0-18 - update to 2.32.3-3.77.3
webkitgtk4 (Red Hat package) - update to 2.48.3-2.el7_9
typelib-1_0-Soup-2_4 - update to 2.62.2-17.8.1
libsoup-lang - update to 2.62.2-17.8.1
libsoup-devel - update to 2.62.2-17.8.1
libsoup-debugsource - update to 2.62.2-17.8.1
libsoup-2_4-1-debuginfo - update to 2.62.2-17.8.1
libsoup-2_4-1 - update to 2.62.2-17.8.1

External References

Related Security Bulletins