Cyber Resilience

CVE-2021-31010

RCE in Apple Mac Os X 10.15 – 10.15.7

CISA KEVActive ExploitationEUVD ExploitedRCEDeserialization
Published
24 August 2021
Modified
23 October 2025
KEV Added
25 August 2022
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.037 89th percentile
Risk Priority 84 floored blend · peak EPSS

Summary

CVE-2021-31010 is a high-severity Deserialization of Untrusted Data (CWE-502) vulnerability in Apple Mac Os X. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 11% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A deserialization issue tracked as CVE-2021-31010 and assigned CWE-502 was present in multiple Apple operating systems. The flaw stems from insufficient validation during deserialization and could allow improper handling of serialized data. It affected iOS, iPadOS, macOS Catalina, macOS Big Sur, and watchOS prior to the releases that addressed it.

An attacker could exploit the vulnerability over a network without authentication or user interaction to enable a sandboxed process to bypass sandbox restrictions, resulting in unauthorized modification of data as reflected in the CVSS vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

The issue is resolved in Security Update 2021-005 Catalina, iOS 12.5.5, iOS 14.8 and iPadOS 14.8, macOS Big Sur 11.6, and watchOS 7.6.2, as detailed in the corresponding Apple security advisories.

Apple stated that it was aware of reporting indicating the vulnerability may have been actively exploited in the wild at the time the fixes were released.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.…

more

Apple was aware of a report that this issue may have been actively exploited at the time of release..

CWE(s)
KEV Date Added
25 August 2022

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2020-27930Same product: Apple Ipadosboth on KEV
CVE-2023-32434Same product: Apple Ipadosboth on KEV
CVE-2021-30869Same product: Apple Ipadosboth on KEV
CVE-2020-27932Same product: Apple Ipadosboth on KEV
CVE-2022-32894Same product: Apple Ipadosboth on KEV
CVE-2021-30807Same product: Apple Ipadosboth on KEV
CVE-2023-41061Same product: Apple Ipadosboth on KEV
CVE-2023-41064Same product: Apple Ipadosboth on KEV
CVE-2022-22675Same product: Apple Ipadosboth on KEV
CVE-2021-30665Same product: Apple Ipadosboth on KEV

Affected Assets

apple
ipados
≤ 14.8
apple
iphone os
12.0 — 12.5.5 · 14.0 — 14.8
apple
mac os x
10.15.7 · 10.15 — 10.15.7
apple
macos
11.0 — 11.6
apple
watchos
≤ 7.6.2

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-502

Penetration testing supplies malicious serialized objects, detecting unsafe deserialization and supporting corrective actions.

addresses: CWE-502

Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.

addresses: CWE-502

Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.

addresses: CWE-502

Validates or rejects untrusted serialized data before deserialization occurs.

addresses: CWE-502

Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.

addresses: CWE-502

Integrity verification of serialized information can detect tampering before deserialization occurs.

addresses: CWE-502

Provenance of associated data allows detection of untrusted sources before deserialization or processing occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-02 none match
prevents

PR.PS-02 addresses only post-deployment updates/patching and cannot prevent introduction of unsafe deserialization code, yet it can remediate some instances when the flaw exists in outdated libraries or components.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing includes validation of deserialization routines and the use of untrusted data, reducing the likelihood that unsafe object reconstruction will be deployed.

prevents

Requiring vetted libraries, regular updates and SAST before release reduces the likelihood that deserialization logic will accept and act on attacker-controlled serialized objects.

finds

Regular scanning of third-party libraries and timely patching reduce the likelihood that unsafe deserialization vulnerabilities remain active.

none

Mandatory malware scanning of data received over networks or storage media intercepts malicious serialized payloads before they are deserialized by the target application.

References