Security restrictions bypass in macOS - CVE-2021-30887

 

Security restrictions bypass in macOS - CVE-2021-30887

Published: October 27, 2021


Vulnerability identifier: #VU57740
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-30887
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due an error within the WebKit component. A remote attacker can trick the victim to open a specially crafted website and bypass Content Security Policy restrictions.


Affected software

macOS
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
watchOS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Anolis OS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
tvOS
iPadOS
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
Ubuntu
Fedora
WPE WebKit
WebKitGTK+
Apple Safari
webkit2gtk (Debian package)
wpewebkit (Debian package)
libjavascriptcoregtk-4_0-18
webkit2gtk3-devel
libwebkit2gtk3-lang
webkit2gtk3-debugsource
webkit2gtk-4_0-injected-bundles-debuginfo
webkit2gtk-4_0-injected-bundles
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
webkit2gtk3
webkit2gtk3-jsc
webkit2gtk3-jsc-devel
webkit2gtk3 (Red Hat package)
webkitgtk4 (Red Hat package)
libwebkit2gtk-4.0-37 (Ubuntu package)
libjavascriptcoregtk-4.0-18 (Ubuntu package)

How to mitigate CVE-2021-30887

Install updates from vendor's website.

macOS - update to 12.0.1 21A559
WPE WebKit - update to 2.34.3
WebKitGTK+ - update to 2.34.3
watchOS - update to 8.1 19R570
tvOS - update to 15.1 19J572
Apple Safari - update to 15.1
iPadOS - addressed in versions 15.1 19B74, 15.1 19B75
Apple iOS - update to 15.1 19B74
webkit2gtk (Debian package) - addressed in versions 2.34.3-1~deb10u1, 2.34.3-1~deb11u1
wpewebkit (Debian package) - update to 2.34.3-1~deb11u1
libjavascriptcoregtk-4_0-18 - 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
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
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
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
webkit2gtk3 - addressed in versions 2.34.4-1.fc34, 2.34.4-2.fc35
webkit2gtk3 - update to 2.34.6-1
webkit2gtk3-devel - update to 2.34.6-1
webkit2gtk3-jsc - update to 2.34.6-1
webkit2gtk3-jsc-devel - update to 2.34.6-1
webkit2gtk3 (Red Hat package) - update to 2.34.6-1.el8
webkitgtk4 (Red Hat package) - update to 2.48.3-2.el7_9
libwebkit2gtk-4.0-37 (Ubuntu package) - addressed in versions 2.34.3-0ubuntu0.20.04.1, 2.34.3-0ubuntu0.21.04.1, 2.34.3-0ubuntu0.21.10.1
libjavascriptcoregtk-4.0-18 (Ubuntu package) - addressed in versions 2.34.3-0ubuntu0.20.04.1, 2.34.3-0ubuntu0.21.04.1, 2.34.3-0ubuntu0.21.10.1

External References

Related Security Bulletins