CVE-2022-0530

NameCVE-2022-0530
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3118-1, DSA-5202-1, ELA-683-1
Debian Bugs1010355

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
unzip (PTS)jessie, jessie (lts)6.0-16+deb8u7fixed
stretch (lts), stretch6.0-21+deb9u3fixed
buster (security), buster, buster (lts)6.0-23+deb10u3fixed
bullseye (security), bullseye6.0-26+deb11u1fixed
sid, trixie, bookworm6.0-28fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
unzipsourcejessie6.0-16+deb8u7ELA-683-1
unzipsourcestretch6.0-21+deb9u3ELA-683-1
unzipsourcebuster6.0-23+deb10u3DLA-3118-1
unzipsourcebullseye6.0-26+deb11u1DSA-5202-1
unzipsource(unstable)6.0-271010355

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2051395
https://github.com/ByteHackr/unzip_poc
Unclear status, checking with upstream

Search for package or bug name: Reporting problems