Vulnerability · Published Feb 9, 2022 · Assigned by redhat
CVE-2022-0530
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.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)2.1%top 18.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
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-0530 |
| Alpine:v3.21 | unzip | 6.0-r11 | ALPINE-CVE-2022-0530 |
| Alpine:v3.22 | unzip | 6.0-r11 | ALPINE-CVE-2022-0530 |
| Alpine:v3.23 | unzip | 6.0-r11 | ALPINE-CVE-2022-0530 |
| Alpine:v3.24 | unzip | 6.0-r11 | ALPINE-CVE-2022-0530 |
| Debian:12 | unzip | 6.0-27 | DEBIAN-CVE-2022-0530 |
| Debian:13 | unzip | 6.0-27 | DEBIAN-CVE-2022-0530 |
| Debian:14 | unzip | 6.0-27 | DEBIAN-CVE-2022-0530 |
| Ubuntu:22.04:LTS | unzip | 6.0-26ubuntu3.1 | UBUNTU-CVE-2022-0530 |
| 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
- https://support.apple.com/kb/HT213257 x_refsource_CONFIRM
- https://support.apple.com/kb/HT213256 x_refsource_CONFIRM
- https://support.apple.com/kb/HT213255 x_refsource_CONFIRM
- 20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina mailing-list, x_refsource_FULLDISC
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 mailing-list, x_refsource_FULLDISC
- 20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4 mailing-list, x_refsource_FULLDISC
- 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