CVE DatabaseCVE-2021-31010
한국어 권고문 →
CVE-2021-310107.5/HIGHCISA KEVCWE-502CWE-502

Apple iOS, macOS, watchOS Sandbox Escape via CoreGraphics Deserialization Vulnerability (CVE-2021-31010)

⚡ Jump to Patch
Affected Vendors
apple
Affected Components
ios, ipados, macos, watchos
Published Date
2021-08-24
CVSS v3.1
7.5
HIGH
EPSS (30d)
3.7%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Apple iOS before 14.8, iOS before 12.5.5, macOS Big Sur before 11.6, macOS Catalina (prior to Security Update 2021-005), and watchOS before 7.6.2

Impact

A sandboxed process or local attacker can bypass sandbox restrictions, escalate privileges, and gain unauthorized access to sensitive system resources

Mitigation

Immediately apply the official security updates provided by Apple (iOS 14.8, macOS 11.6, etc.)

Affected Products & Version Scope

iOS devices prior to 14.8, iOS devices prior to 12.5.5, macOS Big Sur prior to 11.6, macOS Catalina prior to Security Update 2021-005, and watchOS prior to 7.6.2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official security updates immediately. For enterprise macOS fleets managed via terminal or MDM, execute the following command to force-install available updates:

bash
# Force check and install all pending macOS security updates
sudo softwareupdate --install --all --restart

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict the execution of untrusted applications and enforce strict Gatekeeper policies to prevent unauthorized code execution.

bash
# Enforce Gatekeeper to prevent execution of unsigned or unverified applications
sudo spctl --master-enable

3. Log Audit & IoC Verification Commands

Use the following script to audit the current macOS version and identify if the system is running a vulnerable software level.

bash
# Check current macOS version and flag vulnerability status
current_ver=$(sw_vers -productVersion)
echo 'Detected macOS Version:' $current_ver

# Simple version check for Big Sur (11.x) systems
if [[ '$current_ver' < '11.6' ]]; then
  echo '[ALERT] System is vulnerable to CVE-2021-31010. Update required.'
else
  echo '[OK] System is running a patched or newer version.'
fi
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild, immediately update all Apple endpoints to their respective patched versions.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2021-31010) is an insecure deserialization issue (CWE-502) within Apple's CoreGraphics framework and system libraries. The root cause lies in the lack of robust input validation when deserializing untrusted data structures passed between processes. This allows an attacker to manipulate serialized objects to alter the execution flow of privileged system services.

2. Exploitation Mechanics & Attack Scenario

An attacker operating within a restricted sandbox environment (e.g., a compromised application or a malicious app) crafts a malicious serialized payload and transmits it to a higher-privileged system daemon. Upon receiving the payload, the daemon deserializes the object without proper validation, leading to arbitrary code execution or state manipulation within the context of the privileged process. This effectively allows the attacker to escape the sandbox boundaries. Apple has acknowledged reports that this vulnerability was actively exploited in the wild.

3. Infrastructure & Business Impact

A sandbox escape vulnerability poses a severe threat to enterprise endpoints. Successful exploitation can lead to complete compromise of the affected device, enabling attackers to bypass security controls, exfiltrate sensitive corporate data, and establish persistent access. Given its inclusion in the CISA KEV catalog, this flaw is highly likely to be targeted by sophisticated threat actors.

Official Vendor Advisories & References

NVD Original English Description

A deserialization issue was addressed through improved validation. This issue is fixed in Security Update 2021-005 Catalina, iOS 12.5.5, iOS 14.8 and iPadOS 14.8, macOS Big Sur 11.6, watchOS 7.6.2. A sandboxed process may be able to circumvent sandbox restrictions. Apple was aware of a report that this issue may have been actively exploited at the time of release..

Frequently Asked SecOps Questions (CVE-2021-31010)

FAQ

Q1. How critical is CVE-2021-31010 and is it actively exploited in the wild?

CVE-2021-31010 is rated CVSS 7.5 (HIGH) with a 30-day EPSS exploitation probability of 3.7%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2021-31010?

Primary impacted vendors include apple across ios, ipados, macos, watchos. Scope summary: iOS devices prior to 14.8, iOS devices prior to 12.5.5, macOS Big Sur prior to 11.6, macOS Catalina prior to Security Update 2021-005, and watchOS prior to 7.6.2

Q3. What temporary mitigations or workarounds exist for CVE-2021-31010 before patching?

[Mitigation] Immediately apply the official security updates provided by Apple (iOS 14.8, macOS 11.6, etc.) Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2021-31010

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (apple)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2021-31010 Apple iOS, macOS, watchOS Sandbox Escape via CoreGraphics Deserialization Vulnerability (CVE-2021-31010) (CVSS 7.5) - Patch & Workaround | CVE Pulse