Apple has released a security update to address vulnerabilities in Xcode. A remote attacker could exploit one of these vulnerabilities to take control of an affected system.

About Apple security updates

For our customers’ protection, Apple doesn’t disclose, discuss, or confirm security issues until an investigation has occurred and patches or releases are available. Recent releases are listed on the Apple security updates page.

Apple security documents reference vulnerabilities by CVE-ID when possible.

For more information about security, see the Apple Product Security page.

Xcode 14.1

Released November 1, 2022

Git

Available for: macOS Monterey 12.5 and later

Impact: Multiple issues in git

Description: Multiple issues were addressed by updating to git version 2.32.3.

CVE-2022-29187: Carlo Marcelo Arenas Belón and Johannes Schindelin

Git

Available for: macOS Monterey 12.5 and later

Impact: Cloning a malicious repository may result in the disclosure of sensitive information

Description: This issue was addressed with improved checks.

CVE-2022-39253: Cory Snider of Mirantis

Git

Available for: macOS Monterey 12.5 and later

Impact: A remote user may cause an unexpected app termination or arbitrary code execution if git shell is allowed as a login shell

Description: This issue was addressed with improved checks.

CVE-2022-39260: Kevin Backhouse of the GitHub Security Lab

IDE Xcode Server

Available for: macOS Monterey 12.5 and later

Impact: An app may be able to gain root privileges

Description: An injection issue was addressed with improved input validation.

CVE-2022-42797: Tim Michaud (@TimGMichaud) of Moveworks.ai

Source:
https://www.cisa.gov/uscert/ncas/current-activity/2022/11/03/apple-releases-security-update-xcode