Vulnerability · Published Feb 9, 2022 · Assigned by redhat
CVE-2022-0529
Medium 5.5
In plain English
A medium-severity security flaw in unzip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)2.4%top 15.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | unzip | 6.0-r11 | ALPINE-CVE-2022-0529 |
| Alpine:v3.21 | unzip | 6.0-r11 | ALPINE-CVE-2022-0529 |
| Alpine:v3.22 | unzip | 6.0-r11 | ALPINE-CVE-2022-0529 |
| Alpine:v3.23 | unzip | 6.0-r11 | ALPINE-CVE-2022-0529 |
| Alpine:v3.24 | unzip | 6.0-r11 | ALPINE-CVE-2022-0529 |
| Debian:12 | unzip | 6.0-27 | DEBIAN-CVE-2022-0529 |
| Debian:13 | unzip | 6.0-27 | DEBIAN-CVE-2022-0529 |
| Debian:14 | unzip | 6.0-27 | DEBIAN-CVE-2022-0529 |
| Ubuntu:22.04:LTS | unzip | 6.0-26ubuntu3.1 | UBUNTU-CVE-2022-0529 |
| Ubuntu:22.04:LTS | unzip | 6.0-26ubuntu3.1 | USN-5673-1 |
Affected products (as reported)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2051395 x_refsource_MISC
- https://github.com/ByteHackr/unzip_poc x_refsource_MISC
- DSA-5202 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20220922 [SECURITY] [DLA 3118-1] unzip security update mailing-list, x_refsource_MLIST
- https://security.gentoo.org/glsa/202310-17