Type Confusion in macOS - CVE-2022-42841

 

Type Confusion in macOS - CVE-2022-42841

Published: December 13, 2022


Vulnerability identifier: #VU70244
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-42841
CWE-ID: CWE-843
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apple Inc.
Affected software:
macOS

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a type confusion error in xar when processing specially crafted packages. A remote attacker can trick the victim to open a specially crafted package, trigger a type confusion error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2022-42841

Install updates from vendor's website.

Sources