CVE DatabaseCVE-2022-32917
한국어 권고문 →
CVE-2022-329177.8/HIGHCISA KEVCWE-787CWE-787

Apple macOS and iOS Kernel Out-of-Bounds Write Local Privilege Escalation Vulnerability (CVE-2022-32917)

⚡ Jump to Patch
Affected Vendors
apple
Affected Components
macos, ios, ipados
Published Date
2022-09-20
CVSS v3.1
7.8
HIGH
EPSS (30d)
5.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Systems running macOS Big Sur prior to 11.7, macOS Monterey prior to 12.6, iOS/iPadOS prior to 15.7, and iOS prior to 16

Impact

A local attacker can execute arbitrary code with kernel privileges, leading to complete system compromise. Active exploitation in the wild has been reported

Mitigation

Immediately apply the official security updates provided by Apple (macOS Monterey 12.6, Big Sur 11.7, iOS 15.7/16, iPadOS 15.7 or later)

Affected Products & Version Scope

macOS Big Sur prior to 11.7, macOS Monterey prior to 12.6, iOS 15.7 and iPadOS 15.7 prior to 15.7, and iOS prior to 16

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official security updates from Apple to ensure that improved bounds checks are implemented in the kernel.

For macOS endpoints, you can force the software update via the terminal:

bash
# List available software updates
softwareupdate -l

# Install macOS Monterey 12.6 or Big Sur 11.7 update and restart immediately
sudo softwareupdate -i -a --restart

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict the execution of untrusted third-party applications and enforce strict device policies via MDM (Mobile Device Management) solutions.

Enable and harden Gatekeeper on macOS to prevent unauthorized application execution:

bash
# Enable Gatekeeper to allow only App Store and identified developer apps
sudo spctl --master-enable

3. Log Audit & IoC Verification Commands

Use the following script to audit the current operating system version and verify if the system is vulnerable.

Shell script to check the current macOS version and build:

bash
#!/bin/bash
os_version=$(sw_vers -productVersion)
os_build=$(sw_vers -buildVersion)
echo 'Current macOS Version: '$os_version
echo 'Current Build: '$os_build

# Check if the version is vulnerable (example for Monterey)
if [[ '$os_version' == 12.* ]]; then
    major=$(echo $os_version | cut -d. -f1)
    minor=$(echo $os_version | cut -d. -f2)
    if [ '$minor' -lt 6 ]; then
        echo '[WARNING] This system is vulnerable. Please update to macOS Monterey 12.6 or higher.'
    else
        echo '[SAFE] System is patched.'
    fi
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 macOS and iOS/iPadOS devices to the latest patched versions (macOS 12.6 / 11.7, iOS 15.7 / 16 or later).

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-32917) is an out-of-bounds write issue (CWE-787) residing within the Apple operating system kernel. The root cause is insufficient bounds checking when writing data to kernel memory buffers. Due to this lack of validation, the kernel fails to verify the size or index of the input data, allowing memory writes to extend beyond the allocated buffer boundaries.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first gain local access or execute a malicious application with standard user privileges on the target device. By invoking specific system calls or kernel APIs with crafted arguments, the attacker triggers the out-of-bounds write to overwrite critical kernel data structures or function pointers in memory. This manipulation redirects the execution flow, allowing the attacker to run arbitrary payloads with kernel-level privileges (Ring 0). Apple has acknowledged reports that this vulnerability has been actively exploited in the wild.

3. Infrastructure & Business Impact

Arbitrary code execution with kernel privileges completely bypasses all operating system security controls, including sandboxing and privilege isolation. An attacker can gain unrestricted access to all sensitive data, install persistent backdoors, disable security agents, and deploy additional malware. In an enterprise environment, compromised macOS endpoints or iOS devices can serve as initial access points for lateral movement within the corporate network.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2022-32917)

FAQ

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

CVE-2022-32917 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 5.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-32917?

Primary impacted vendors include apple across macos, ios, ipados. Scope summary: macOS Big Sur prior to 11.7, macOS Monterey prior to 12.6, iOS 15.7 and iPadOS 15.7 prior to 15.7, and iOS prior to 16

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

[Mitigation] Immediately apply the official security updates provided by Apple (macOS Monterey 12.6, Big Sur 11.7, iOS 15.7/16, iPadOS 15.7 or later) 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-32917

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-32917 Apple macOS and iOS Kernel Out-of-Bounds Write Local Privilege Escalation Vulnerability (CVE-2022-32917) (CVSS 7.8) - Patch & Workaround | CVE Pulse