CVE-2021-1800 Path traversal in Xcode
A malicious application can access arbitrary files on the host device when using on-demand resources in Xcode.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-1800?
CVE-2021-1800 is a medium-severity path traversal vulnerability in Apple Xcode, published on 2 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A path handling issue was addressed with improved validation. This issue is fixed in Xcode 12.4. A malicious application may be able to access arbitrary files on the host device while running an app that uses on-demand resources with Xcode.
Which versions are affected by CVE-2021-1800?
It affects 1 product.
Products include Apple Xcode.
How do I fix CVE-2021-1800?
No fix has been published for CVE-2021-1800 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-1800 being exploited?
There is no known exploitation of CVE-2021-1800 in the wild and no public exploit code.
Other vulnerabilities in Apple Xcode
Sources
Also known as GHSA-7h33-2j5m-x48x.