CVE-2022-0530 Memory corruption in unzip
A heap out-of-bounds write in Unzip allows attackers to execute arbitrary code or cause a crash via a crafted zip file.
- 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
- Available
What is CVE-2022-0530?
CVE-2022-0530 is a medium-severity memory corruption vulnerability in Apple Mac Os X, published on 9 Feb 2022. 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 flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.
Which versions are affected by CVE-2022-0530?
It affects 6 products.
Products include Apple Mac Os X, Apple Macos, Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Unzip Project Unzip.
How do I fix CVE-2022-0530?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-0530 being exploited?
There is no known exploitation of CVE-2022-0530 in the wild and no public exploit code.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as ALPINE-CVE-2022-0530, AZL-35344, AZL-8533, CLSA-2024-1716917767, DEBIAN-CVE-2022-0530, GHSA-8p3j-58qw-jhp4 and 1 more.