CVE-2022-22582 Path traversal in macOS
A local attacker can exploit symlink validation flaws to write arbitrary files on macOS systems.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-22582?
CVE-2022-22582 is a medium-severity path traversal vulnerability in Apple Mac Os X, published on 27 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A validation issue existed in the handling of symlinks. This issue was addressed with improved validation of symlinks. This issue is fixed in Security Update 2022-003 Catalina, macOS Big Sur 11.6.5, macOS Monterey 12.3. A local user may be able to write arbitrary files.
Weakness: CWE-59
Which versions are affected by CVE-2022-22582?
It affects 2 products.
Products include Apple Mac Os X, Apple Macos.
How do I fix CVE-2022-22582?
No fix has been published for CVE-2022-22582 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-2022-22582 being exploited?
There is no known exploitation of CVE-2022-22582 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as GHSA-4r4v-x4wj-59wx.