Code Injection in Apple Xcode - CVE-2022-42797

 

Code Injection in Apple Xcode - CVE-2022-42797

Published: November 1, 2022


Vulnerability identifier: #VU68898
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-42797
CWE-ID: CWE-94
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Apple Inc.
Affected software:
Apple Xcode

Detailed vulnerability description

The vulnerability allows a local application to escalate privileges on the system.

The vulnerability exists due to improper input validation within the IDE Xcode Server. A local application can send specially crafted data to the server and execute arbitrary code with root privileges.



How to mitigate CVE-2022-42797

Install updates from vendor's website.

Sources