CVE-2022-42797: Xcode - Privilege Escalation
- Cve: CVE-2022-42797
- Name: Xcode - Privilege Escalation
- Description: An injection issue was addressed with improved input validation. This issue is fixed in Xcode 14.1. An app may be able to gain root privileges.
- Impact: Attackers can potentially escalate privileges to root, leading to full system compromise.
- Remediation: Update to Xcode 14.1 or later with improved input validation.
- Vulnerability type: command_injection
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00312
- Epss percentile: 0.24536
- Assignee: [email protected]
- Published at: 2023-02-27T20:15:12Z
- Age in days: 1366
- Modified at: 2026-06-17T05:05:20Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-42797
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
References
| Url | Source | Tags |
|---|---|---|
| https://support.apple.com/en-us/HT213496 | nvd | Release Notes, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apple:xcode | < 14.1 | no | nvd | /v1/products/apple/xcode |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts