CVE-2022-0529 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-0529?
CVE-2022-0529 is a medium-severity memory corruption vulnerability in Debian Debian Linux, 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.
Weakness: CWE-787
Which versions are affected by CVE-2022-0529?
It affects 4 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Unzip Project Unzip.
How do I fix CVE-2022-0529?
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-0529 being exploited?
There is no known exploitation of CVE-2022-0529 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-0529, AZL-35343, AZL-8532, DEBIAN-CVE-2022-0529, GHSA-wj94-fvj2-f29x, UBUNTU-CVE-2022-0529.