Cloudanix VulnDB

CVE-2021-30665

High · 8.8 CISA KEV

CVSS

8.8

EPSS

3.7%

Published

Sep 8, 2021

CISA due date

Nov 17, 2021

Cloudanix analysis

Act now SSVC: Attend

A malicious webpage could take control of an unpatched Apple device, so affected devices should be updated or replaced promptly.

Active In The Wild
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

CVE-2021-30665 is a WebKit memory-corruption vulnerability in Apple platforms where maliciously crafted web content can corrupt process memory and cause arbitrary code execution in the context of the browser or web-rendering process. Exploitation requires a user or application to process attacker-controlled web content, such as visiting a malicious page, opening a link in an embedded web view, or previewing crafted content. Successful exploitation can allow code execution, data access within the process sandbox, and potentially serve as the first stage of a broader exploit chain when combined with sandbox escape, privilege escalation, or persistence vulnerabilities.

Why it matters to the business

Affected iPhone, iPad, Mac, Apple Watch, and Apple TV devices can be compromised through web content, creating risk of spyware deployment, credential and session theft, surveillance, data exposure, and operational disruption. Apple reported active exploitation, and the vulnerability is listed in CISA KEV with a remediation due date of 2021-11-17, so organizations should treat unpatched devices as high priority even though current EPSS is relatively low and stable. The broad use of WebKit across Apple browsers and embedded web views increases exposure because exploitation may occur through Safari, messages, email previews, or third-party apps that render web content.

How an attack unfolds

An attacker prepares web content that triggers the WebKit memory-corruption condition. The attacker then delivers a link, embedded webpage, redirect, advertisement, message, or other content that causes the target device to render the malicious page. When WebKit processes the crafted content, memory corruption occurs and the attacker gains code execution inside the web-rendering process. In real-world intrusion chains, this type of WebKit code execution is commonly paired with additional vulnerabilities to escape the browser sandbox, elevate privileges, access sensitive data, install spyware, or maintain control. Public reporting associated exploitation of Apple WebKit vulnerabilities in this period with commercial spyware activity, including Candiru/SOURGUM/DevilsTongue, so detection should consider targeted, low-noise exploitation rather than only broad scanning.

How to fix it

Upgrade affected Apple platforms to versions that contain the fix or later: iOS 14.5.1 or later, iPadOS 14.5.1 or later, iOS 12.5.3 or later for supported older devices, macOS Big Sur 11.3.1 or later, watchOS 7.4.1 or later, and tvOS 14.6 or later. Where possible, upgrade to the latest currently supported OS release rather than only the minimum fixed version, because related WebKit and kernel hardening fixes have shipped in later updates. For devices that cannot be upgraded, reduce exposure by restricting browsing to trusted sites, blocking known malicious domains and redirects, disabling unnecessary web content previews where manageable, isolating high-risk devices, and replacing unsupported hardware. Enterprise teams should enforce OS minimum versions through MDM compliance policies and quarantine or restrict access for noncompliant devices.

How to confirm the fix worked

Confirm the installed OS version on each affected device meets or exceeds the fixed versions: iOS/iPadOS 14.5.1, iOS 12.5.3 for eligible legacy devices, macOS Big Sur 11.3.1, watchOS 7.4.1, and tvOS 14.6. Validate through MDM inventory, Apple system update status, device compliance reports, or local checks such as About This Mac/System Settings on macOS and Settings > General > About on iOS/iPadOS. For macOS, confirm Safari/WebKit components are updated as part of the OS update and review software update receipts where available. Exposure remains if devices are below the fixed versions, are unsupported, or cannot receive security updates. After remediation, monitor for repeated WebKit process crashes or suspicious web-to-process activity that may indicate previous exploitation attempts.

Typical attack path

  1. Identify a target using an affected Apple operating system version.
  2. Deliver attacker-controlled web content through a malicious link, compromised website, redirect, advertisement, message, email, or embedded web view.
  3. Cause Safari, WebKit, or another application using WebKit to process the crafted content.
  4. Trigger memory corruption and execute attacker-controlled code in the web content process.
  5. Optionally chain a sandbox escape or privilege escalation vulnerability to gain broader device access.
  6. Collect sensitive data, tokens, messages, browsing data, or device metadata, or deploy surveillance tooling.
  7. Remove or minimize artifacts to reduce forensic visibility.

How to detect it

Detection is difficult because successful WebKit exploitation may leave limited artifacts, especially on iOS and iPadOS, and sophisticated spyware operators may clean up traces. Use a combination of MDM inventory, endpoint telemetry, crash logs, network logs, DNS/proxy history, and mobile forensic artifacts. Look for vulnerable devices that accessed suspicious links, redirects, URL shorteners, newly registered domains, or unusual web infrastructure shortly before crashes of Safari, WebKit, or WebContent processes. On macOS, review Unified Logs, DiagnosticReports, CrashReporter data, browser history, EDR events, and child process behavior from Safari or WebKit-related processes. On iOS/iPadOS, collect sysdiagnose or mobile forensic backups where appropriate and review crash reports for repeated WebKit or WebContent crashes, especially EXC_BAD_ACCESS or memory-corruption style exceptions. Investigate any browser or WebKit process spawning unusual child processes, writing unexpected files, making connections to unfamiliar command-and-control infrastructure, or being followed by privilege-escalation indicators. Because Candiru/SOURGUM/DevilsTongue and similar commercial spyware activity has been associated with Apple WebKit exploitation, prioritize targeted users and anomalous low-volume infrastructure over commodity exploit-scanning patterns.

  • com.apple.WebKit.WebContent
  • com.apple.WebKit.Networking
  • com.apple.Safari
  • Safari
  • WebKit
  • WebContent
  • EXC_BAD_ACCESS
  • KERN_INVALID_ADDRESS
  • SIGSEGV
  • Segmentation fault
  • memory corruption
  • /Library/Logs/DiagnosticReports/
  • ~/Library/Logs/DiagnosticReports/
  • /Library/Logs/CrashReporter/
  • ~/Library/Logs/CrashReporter/
  • WebKit.WebContent_
  • Safari_
  • MobileSafari_
  • JetsamEvent
  • sysdiagnose
  • DevilsTongue
  • SOURGUM
  • Candiru

What your security team should do

  • Immediately identify all Apple devices running vulnerable iOS, iPadOS, macOS, watchOS, or tvOS versions and prioritize remediation of internet-facing, executive, administrator, developer, legal, journalist, activist, and other high-risk user devices.
  • Enforce minimum OS versions through MDM: iOS/iPadOS 14.5.1 or later, iOS 12.5.3 or later for supported legacy devices, macOS Big Sur 11.3.1 or later, watchOS 7.4.1 or later, and tvOS 14.6 or later; preferably require the latest supported release.
  • Treat this as actively exploited historical risk because it is in CISA KEV and Apple acknowledged in-the-wild exploitation; investigate unpatched devices that browsed suspicious links or experienced WebKit crashes before patching.
  • Review network, proxy, DNS, EDR, MDM, and device telemetry for suspicious redirects, unknown domains, repeated WebKit crashes, and signs of spyware-like behavior around the time users interacted with links or web content.
  • For high-risk users or devices that were vulnerable during the active exploitation window, consider deeper mobile forensic review, credential/session revocation, and re-enrollment or replacement if compromise cannot be ruled out.
  • Block or investigate unsolicited links, URL shorteners, suspicious redirects, and newly registered domains targeting Apple users, especially where tied to high-value personnel.
  • Retire Apple devices that cannot be updated to a supported security baseline.

The record

A memory corruption issue was addressed with improved state management. This issue is fixed in watchOS 7.4.1, iOS 14.5.1 and iPadOS 14.5.1, tvOS 14.6, iOS 12.5.3, macOS Big Sur 11.3.1. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited..

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 LibRaw 0 0.19.5-3.el8
AlmaLinux:8 LibRaw-devel 0 0.19.5-3.el8
AlmaLinux:8 accountsservice 0 0.6.55-2.el8
AlmaLinux:8 accountsservice-devel 0 0.6.55-2.el8
AlmaLinux:8 accountsservice-libs 0 0.6.55-2.el8
AlmaLinux:8 gdm 0 1:40.0-15.el8
AlmaLinux:8 gnome-autoar 0 0.2.3-2.el8
AlmaLinux:8 gnome-calculator 0 3.28.2-2.el8
AlmaLinux:8 gnome-classic-session 0 3.32.1-20.el8
AlmaLinux:8 gnome-control-center 0 3.28.2-28.el8
AlmaLinux:8 gnome-control-center-filesystem 0 3.28.2-28.el8
AlmaLinux:8 gnome-online-accounts 0 3.28.2-3.el8
AlmaLinux:8 gnome-online-accounts-devel 0 3.28.2-3.el8
AlmaLinux:8 gnome-session 0 3.28.1-13.el8
AlmaLinux:8 gnome-session-kiosk-session 0 3.28.1-13.el8
AlmaLinux:8 gnome-session-wayland-session 0 3.28.1-13.el8
AlmaLinux:8 gnome-session-xsession 0 3.28.1-13.el8
AlmaLinux:8 gnome-settings-daemon 0 3.32.0-16.el8.alma
AlmaLinux:8 gnome-shell 0 3.32.2-40.el8
AlmaLinux:8 gnome-shell-extension-apps-menu 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-auto-move-windows 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-common 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-dash-to-dock 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-desktop-icons 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-disable-screenshield 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-drive-menu 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-gesture-inhibitor 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-horizontal-workspaces 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-launch-new-instance 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-native-window-placement 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-no-hot-corner 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-panel-favorites 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-places-menu 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-screenshot-window-sizer 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-systemMonitor 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-top-icons 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-updates-dialog 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-user-theme 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-window-grouper 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-window-list 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-windowsNavigator 0 3.32.1-20.el8
AlmaLinux:8 gnome-shell-extension-workspace-indicator 0 3.32.1-20.el8
AlmaLinux:8 gnome-software 0 3.36.1-10.el8
AlmaLinux:8 gnome-software-devel 0 3.36.1-10.el8
AlmaLinux:8 gsettings-desktop-schemas 0 3.32.0-6.el8
AlmaLinux:8 gsettings-desktop-schemas-devel 0 3.32.0-6.el8
AlmaLinux:8 gtk-update-icon-cache 0 3.22.30-8.el8
AlmaLinux:8 gtk3 0 3.22.30-8.el8
AlmaLinux:8 gtk3-devel 0 3.22.30-8.el8
AlmaLinux:8 gtk3-immodule-xim 0 3.22.30-8.el8
AlmaLinux:8 mutter 0 3.32.2-60.el8
AlmaLinux:8 mutter-devel 0 3.32.2-60.el8
AlmaLinux:8 vino 0 3.22.0-11.el8
AlmaLinux:8 webkit2gtk3 0 2.32.3-2.el8
AlmaLinux:8 webkit2gtk3-devel 0 2.32.3-2.el8
AlmaLinux:8 webkit2gtk3-jsc 0 2.32.3-2.el8
AlmaLinux:8 webkit2gtk3-jsc-devel 0 2.32.3-2.el8
Debian:10 webkit2gtk 0 2.32.3-1~deb10u1
Debian:11 webkit2gtk 0 2.32.3-1
Debian:11 wpewebkit 0 2.32.3-1
Debian:12 webkit2gtk 0 2.32.3-1
Debian:12 wpewebkit 0 2.32.3-1
Debian:13 webkit2gtk 0 2.32.3-1
Debian:13 wpewebkit 0 2.32.3-1
Debian:14 webkit2gtk 0 2.32.3-1
Debian:14 wpewebkit 0 2.32.3-1
Mageia:8 webkit2 0 2.32.3-1.mga8
Red Hat:enterprise_linux:8::appstream LibRaw 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::appstream LibRaw-debuginfo 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::appstream LibRaw-debugsource 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::appstream LibRaw-devel 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::appstream LibRaw-samples-debuginfo 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::appstream gnome-autoar 0 0:0.2.3-2.el8
Red Hat:enterprise_linux:8::appstream gnome-autoar-debuginfo 0 0:0.2.3-2.el8
Red Hat:enterprise_linux:8::appstream gnome-autoar-debugsource 0 0:0.2.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-debuginfo 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-debugsource 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-devel 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-devel-debuginfo 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc-debuginfo 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc-devel 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::appstream webkit2gtk3-jsc-devel-debuginfo 0 0:2.32.3-2.el8
Red Hat:enterprise_linux:8::crb LibRaw 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::crb LibRaw-debuginfo 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::crb LibRaw-debugsource 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::crb LibRaw-devel 0 0:0.19.5-3.el8
Red Hat:enterprise_linux:8::crb LibRaw-samples-debuginfo 0 0:0.19.5-3.el8
Rocky Linux:8 LibRaw 0 0:0.19.5-3.el8
Rocky Linux:8 accountsservice 0 0:0.6.55-2.el8
Rocky Linux:8 gdm 0 1:40.0-15.el8
Rocky Linux:8 gnome-autoar 0 0:0.2.3-2.el8
Rocky Linux:8 gnome-calculator 0 0:3.28.2-2.el8
Rocky Linux:8 gnome-control-center 0 0:3.28.2-28.el8
Rocky Linux:8 gnome-online-accounts 0 0:3.28.2-3.el8
Rocky Linux:8 gnome-session 0 0:3.28.1-13.el8
Rocky Linux:8 gnome-settings-daemon 0 0:3.32.0-16.el8
Rocky Linux:8 gnome-shell 0 0:3.32.2-40.el8
Rocky Linux:8 gnome-shell-extensions 0 0:3.32.1-20.el8
Rocky Linux:8 gnome-software 0 0:3.36.1-10.el8
Rocky Linux:8 gsettings-desktop-schemas 0 0:3.32.0-6.el8
Rocky Linux:8 gtk3 0 0:3.22.30-8.el8
Rocky Linux:8 mutter 0 0:3.32.2-60.el8
Rocky Linux:8 vino 0 0:3.22.0-11.el8
Rocky Linux:8 webkit2gtk3 0 0:2.32.3-2.el8
SUSE:Enterprise Storage 6 libsoup 0 2.62.2-17.8.1
SUSE:Enterprise Storage 6 webkit2gtk3 0 2.32.3-3.77.3
SUSE:HPE Helion OpenStack 8 webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise High Performance Computing 15-ESPOS libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise High Performance Computing 15-LTSS libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise Module for Basesystem 15 SP2 webkit2gtk3 0 2.32.3-9.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 webkit2gtk3 0 2.32.3-9.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 webkit2gtk3 0 2.32.3-9.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 webkit2gtk3 0 2.32.3-9.1
SUSE:Linux Enterprise Server 12 SP2-BCL webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server 12 SP3-BCL webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server 12 SP3-LTSS webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server 12 SP4-LTSS webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server 12 SP5 webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server 15 SP1-BCL libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise Server 15 SP1-BCL webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise Server 15 SP1-LTSS libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise Server 15 SP1-LTSS webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise Server 15-LTSS libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise Server 15-LTSS webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 webkit2gtk3 0 2.32.3-2.66.1
SUSE:Linux Enterprise Server for SAP Applications 15 libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise Server for SAP Applications 15 webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 libsoup 0 2.62.2-17.8.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 webkit2gtk3 0 2.32.3-3.77.3
SUSE:Linux Enterprise Software Development Kit 12 SP5 webkit2gtk3 0 2.32.3-2.66.1
SUSE:Manager Proxy 4.0 libsoup 0 2.62.2-17.8.1
SUSE:Manager Proxy 4.0 webkit2gtk3 0 2.32.3-3.77.3
SUSE:Manager Retail Branch Server 4.0 libsoup 0 2.62.2-17.8.1
SUSE:Manager Retail Branch Server 4.0 webkit2gtk3 0 2.32.3-3.77.3
SUSE:Manager Server 4.0 libsoup 0 2.62.2-17.8.1
SUSE:Manager Server 4.0 webkit2gtk3 0 2.32.3-3.77.3
SUSE:OpenStack Cloud 8 webkit2gtk3 0 2.32.3-2.66.1
SUSE:OpenStack Cloud 9 webkit2gtk3 0 2.32.3-2.66.1
SUSE:OpenStack Cloud Crowbar 8 webkit2gtk3 0 2.32.3-2.66.1
SUSE:OpenStack Cloud Crowbar 9 webkit2gtk3 0 2.32.3-2.66.1
Ubuntu:16.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:16.04:LTS qtwebkit-source 0 No fix
Ubuntu:16.04:LTS webkit2gtk 0 No fix
Ubuntu:16.04:LTS webkitgtk 0 No fix
Ubuntu:18.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:18.04:LTS qtwebkit-source 0 No fix
Ubuntu:18.04:LTS webkit2gtk 0 2.32.3-0ubuntu0.18.04.1
Ubuntu:18.04:LTS webkitgtk 0 No fix
Ubuntu:20.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:20.04:LTS webkit2gtk 0 2.32.3-0ubuntu0.20.04.1
Ubuntu:20.04:LTS wpewebkit 0 No fix
Ubuntu:22.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:22.04:LTS wpewebkit 0 No fix
Ubuntu:24.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:Pro:16.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:Pro:16.04:LTS qtwebkit-source 0 No fix
Ubuntu:Pro:16.04:LTS webkit2gtk 0 No fix
Ubuntu:Pro:16.04:LTS webkitgtk 0 No fix
Ubuntu:Pro:18.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:Pro:18.04:LTS qtwebkit-source 0 No fix
Ubuntu:Pro:18.04:LTS webkitgtk 0 No fix
Ubuntu:Pro:20.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:Pro:20.04:LTS wpewebkit 0 No fix
Ubuntu:Pro:22.04:LTS qtwebkit-opensource-src 0 No fix
Ubuntu:Pro:22.04:LTS wpewebkit 0 No fix
Ubuntu:Pro:24.04:LTS qtwebkit-opensource-src 0 No fix
openSUSE:Leap 15.2 webkit2gtk3 0 2.32.3-lp152.2.16.1
openSUSE:Leap 15.3 webkit2gtk3 0 2.32.3-9.1
openSUSE:Tumbleweed gtk3 0 2.32.4-1.1

Related vulnerabilities