CVE DatabaseCVE-2022-22587
한국어 권고문 →
CVE-2022-225879.8/CRITICALCISA KEVCWE-787CWE-787

Apple iOS, iPadOS, and macOS Kernel Memory Corruption Vulnerability (CVE-2022-22587) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
apple
Affected Components
ios, ipados, macos
Published Date
2022-03-18
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
11.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Apple iOS versions prior to 15.3, iPadOS versions prior to 15.3, macOS Big Sur versions prior to 11.6.3, and macOS Monterey versions prior to 12.2

Impact

A malicious application can exploit this vulnerability to execute arbitrary code with kernel privileges, leading to complete system compromise. Active exploitation in the wild has been reported

Mitigation

Immediately apply the official software updates provided by Apple to patch the vulnerable kernel components

Affected Products & Version Scope

iOS < 15.3, iPadOS < 15.3, macOS Big Sur < 11.6.3, macOS Monterey < 12.2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is to upgrade the affected operating systems to the patched versions released by Apple. Use the following commands in the macOS terminal to check and apply updates.

bash
# Check for available software updates via terminal
sudo softwareupdate --list

# Download and install all critical security updates immediately
sudo softwareupdate --install --all --restart

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict the execution of unsigned or untrusted applications using MDM policies and enforce Gatekeeper settings.

bash
# Force-enable Gatekeeper to prevent execution of untrusted applications
sudo spctl --master-enable

# Verify the current status of Gatekeeper
spctl --status

3. Log Audit & IoC Verification Commands

Run the following shell script on macOS endpoints to audit the current OS version and identify if the system is running a vulnerable version.

bash
#!/bin/bash
# macOS Version Audit Script for CVE-2022-22587

os_version=$(sw_vers -productVersion)
echo 'Detected macOS Version: '$os_version

# Check for vulnerable Monterey and Big Sur versions
if [[ '$os_version' =~ ^12\.[0-1](\.[0-9]+)?$ ]] || [[ '$os_version' == '12.1' ]]; then
    echo '[WARNING] Vulnerable macOS Monterey version detected. Upgrade to 12.2 or later immediately.'
elif [[ '$os_version' =~ ^11\.[0-5](\.[0-9]+)?$ ]] || [[ '$os_version' == '11.6' ]] || [[ '$os_version' == '11.6.1' ]] || [[ '$os_version' == '11.6.2' ]]; then
    echo '[WARNING] Vulnerable macOS Big Sur version detected. Upgrade to 11.6.3 or later immediately.'
else
    echo '[INFO] System is patched or not directly vulnerable to this specific check.'
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 affected Apple devices to iOS/iPadOS 15.3 or macOS Monterey 12.2/Big Sur 11.6.3.

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-2022-22587) is a critical memory corruption issue residing within the kernel of Apple's iOS, iPadOS, and macOS operating systems. The root cause stems from insufficient input validation when processing user-supplied data passed to the kernel. This lack of validation allows an attacker to trigger an out-of-bounds write (CWE-787) or other memory corruption states within the kernel space.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first execute code on the target device, typically by tricking a user into installing a malicious application or leveraging a separate sandbox escape vulnerability. Once active, the malicious application invokes specific kernel APIs or system calls with crafted inputs. Due to the lack of robust input validation, the kernel processes these inputs incorrectly, corrupting critical kernel memory structures. This enables the attacker to hijack the kernel's execution flow and execute arbitrary payloads with full kernel-level privileges.

3. Infrastructure & Business Impact

As this vulnerability is listed in the CISA KEV catalog, it represents a highly active threat vector that has been exploited in real-world attacks. Successful exploitation completely bypasses the operating system's security boundaries (such as app sandboxing). For enterprises, this poses a severe risk of data exfiltration, credential theft from the system keychain, and potential lateral movement within corporate networks from compromised endpoints.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2022-22587)

FAQ

Q1. How critical is CVE-2022-22587 and is it actively exploited in the wild?

CVE-2022-22587 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 11.6%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2022-22587?

Primary impacted vendors include apple across ios, ipados, macos. Scope summary: iOS < 15.3, iPadOS < 15.3, macOS Big Sur < 11.6.3, macOS Monterey < 12.2

Q3. What temporary mitigations or workarounds exist for CVE-2022-22587 before patching?

[Mitigation] Immediately apply the official software updates provided by Apple to patch the vulnerable kernel components 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-2022-22587

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-2022-22587 Apple iOS, iPadOS, and macOS Kernel Memory Corruption Vulnerability (CVE-2022-22587) Analysis and Mitigation Guide (CVSS 9.8) - Patch & Workaround | CVE Pulse