Buffer overflow in macOS - CVE-2021-1817

 

Buffer overflow in macOS - CVE-2021-1817

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


Vulnerability identifier: #VU52674
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-1817
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 when processing web content in WebKit. A remote attacker can create a specially crafted web page, trick the victim into visiting 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

macOS
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
watchOS
SUSE OpenStack Cloud Crowbar
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
iPadOS
tvOS
Apple iOS
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
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-devel
libwebkit2gtk3-lang
webkit2gtk3-debugsource
webkitgtk4 (Red Hat package)

How to mitigate CVE-2021-1817

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.33.1
watchOS - update to 7.4 18T195
iPadOS - update to 14.5 18E199
tvOS - update to 14.5 18L204
Apple iOS - update to 14.5 18E199
Web Terminal - update to 1.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-devel - 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
webkit2gtk3-debugsource - 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