- Mark BROKEN: does not patch Reported by: pointyhat03e239d5c3
unzip -- multiple vulnerabilitiesentered 2016-01-04
List, test, and extract compressed files from a ZIP archive
# pkg install unzipinstalls 6.0_8 from latest; from quarterly (2026Q4) 6.0_8# cd /usr/ports/archivers/unzip && make install clean# make -C /usr/ports/archivers/unzip config # change options first
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 6.0_8 | 6.0_8 | – |
| FreeBSD 15 | 6.0_8 | 6.0_8 | – |
| FreeBSD 14 | 6.0_8 | 6.0_8 | 6.0_8 |
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 6.0_8 | 6.0_8 | – |
| FreeBSD 14 | 6.0_8 | 6.0_8 | 6.0_8 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
The CVE record lists the packaged version 6.0_8 as affected, and no VuXML entry names the CVE. What does this mean?
| CVE | CVSS | Published | Description |
|---|---|---|---|
| CVE-2018-1000035 | 7.8 | 2018-02-09 | A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of ser… |
| CVE-2022-0529 | 5.5 | 2022-02-09 | 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… |
| CVE-2022-0530 | 5.5 | 2022-02-09 | 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… |
| CVE-2018-18384 | 5.5 | 2018-10-16 | Info-ZIP UnZip 6.0 has a buffer overflow in list.c, when a ZIP archive has a crafted relationship between the compressed-size value and the uncompressed-size value, beca… |
| CVE-2016-9844 | 4.0 | 2017-01-18 | Buffer overflow in the zi_short function in zipinfo.c in Info-Zip UnZip 6.0 allows remote attackers to cause a denial of service (crash) via a large compression method v… |
| CVE-2014-9913 | 4.0 | 2017-01-18 | Buffer overflow in the list_files function in list.c in Info-Zip UnZip 6.0 allows remote attackers to cause a denial of service (crash) via vectors related to the compre… |
| CVE-2021-4217 | 3.3 | 2022-08-24 | A flaw was found in unzip. The vulnerability occurs due to improper handling of Unicode strings, which can lead to a null pointer dereference. This flaw allows an attack… |
| CVE-2019-13232 | 3.3 | 2019-07-04 | Info-ZIP UnZip 6.0 mishandles the overlapping of files inside a ZIP container, leading to denial of service (resource consumption), aka a "better zip bomb" issue. |
Listed in VuXML, the packaged version 6.0_8 is still in the affected range; pkg audit reports it. What does this mean?
| CVE | CVSS | Published | Description |
|---|---|---|---|
| CVE-2014-8141 | 7.8 | 2020-01-31 | VuXML · Heap-based buffer overflow in the getZip64Data function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the… |
| CVE-2014-8139 | 7.8 | 2020-01-31 | VuXML · Heap-based buffer overflow in the CRC32 verification in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t… |
| CVE-2014-8140 | 7.8 | 2020-01-31 | VuXML · Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in th… |
| CVE-2015-7696 | 6.8 | 2015-11-06 | VuXML · Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly execute arbitrary code via a craf… |
| CVE-2014-9636 | 5.0 | 2015-02-06 | VuXML · unzip 6.0 allows remote attackers to cause a denial of service (out-of-bounds read or write and crash) via an extra field with an uncompressed size smaller than the comp… |
| CVE-2015-7697 | 4.3 | 2015-11-06 | VuXML · Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (infinite loop) via empty bzip2 data in a ZIP archive. |
- Mark BROKEN: does not patch Reported by: pointyhat03e239d5c3
For unknown reason bsd.port.mk's eval dislike ( and ) in the path, when MASTER_SITE_BACKUP with ${MASTER_SITES:S/%SUBDIR%/${MASTER_SITE_SUBDIR}/} at the end and MASTER_SITE_OVERRIDE ?= ${MASTER_SITE_BACKUP} are used together in /etc/make.conf.
So, use simple workaround: replace ( and ) by their URL-encoded %-codes.
(There is the bug in that area still remains, but not fatal:
the combination above don't understand properly ending :tags sometimes
and tries mass fetching with ending :tags unstripped.
Someone should look at that whole bsd.ports.mk/bsd.sites.mk mess)
While I am here, slightly rearrange ending :tags.4da8d0e6e0- Reset maintainer, his email is bouncingec8587aca7
Remove -DUNICODE_WCHAR, too earlye1f251b8a5
Upgrade to 6.0 PR: 139971d2c74b6734
- Switch SourceForge ports to the new File Release System: categories starting with Aa07aa037a1
Fix missing quote in prev change PR: 131283 Submitted by: Dmitry <dmitry2006@yandex.ru>5863a97569
Set INSTALL_AS_INFOUNZIP=yes to install as ${PREFIX}/bin/info-unzip.
Approved by: ache73a1b25cd3Switch to SF master35258fa5bc
- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV29e60de039
Honor CC Reorganize LOCAL_UNZIP PR: 122389 Submitted by: Frank Fenor <frank@fenor.de> (CC part)1ea2728b26
USE_UNSHRINK becomes default long time ago, remove it2ca6e3aeb7
Security fixes adopted/reimplemented from Debian: CVE-2008-0888, CVE-2005-4667, CAN-2005-2475 Enable ACORN_FTYPE_NFS and WILD_STOP_AT_DIR options PR: 122367 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>d775f2b68c
Make it work with files >2Gb in archives PR: 108799 Submitted by: "George L. Yermulnik" <yz@yz.kiev.ua>e70954241b
TARGETDIR -> PREFIXab79508aab
- Respect DESTDIR - Eliminate plist PR: 101816 Submitted by: gabor2dcf910727
- Rid the tree of double slashes in URL pathse48050b4a8
SHA256ify (manually done and checked) Approved by: krion@44855e0b04
unzip TOCTOU file-permissions vulnerability (submitted patch slightly modified) PR: 85920 Submitted by: Marcus Alves Grando <marcus@corp.grupos.com.br>c0f88731fd
Reset bouncing maintainer address. These ports are now available for adoption. Note that I have left the maintainer's own ftp site as a MASTERSITE because it still appears to be active (for now, anyways). Hat: portmgr8cf8875aef
* add CONFLICTS * make portlint happy Approved by: portmgr (krion)5139be0a1c
Fix CONFLICTS (again - don't blame me!): "ch-" => "zh-"40eecb0229
Fix CONFLICTS: [a-z][a-z]-unzip-[0-9]* is too broad regex - it's my fault :(d8cbc287c8
Add unzip , unzip with CP866 and KOI8-R support. PR: ports/80607 Submitted by: denacd6355a58
Upgdrade to Feb 28 version92c2bde1ea
Upgrade to 5.52 PR: 782003ce5317700
- Pass maintainership to submitter PR: ports/75730 Submitted by: statue(at)freebsd.netlab.cse.yzu.edu.twdc769a34d1
Portlint(1)99b04635d5
Change WWW to proper one2247a9f962
Point WWW-tag to master-site instead of mirror. PR: ports/69481 Submitted by: Tim Bishop Apologies to: Andreyfe4107434d
Quote $(CC) for better interoperability e.g. with CC="ccache gcc" PR: ports/66320 Submitted by: Michael Johnson Approved by: maintainer timeout3e3000cdfb
Upgrade to 5.51138ee2adaf
Tidy up whitespace.c0669efed5
Add size data, approved by maintainers.a1bc8c46f5
Fix WITH_UNZIP_UNREDUCE case Submitted by: norkcf0072b606
Fix plist construction and silence portlint PR: 61366 Submitted by: Matthias Andree <matthias.andree@gmx.de>dac13a8172
statue@freebsd.sinica.edu.tw has asked for all the maintained ports to be reset to ports@FreeBSD.org. We're sorry to see you go and want to thank you for your help in the past. PR: ports/59515 Submitted by: statue@freebsd.sinica.edu.tw30b459ebc5
portlint (DISTFILES -> DISTNAME,EXTRACT_SUFX; silence possible errors from @unexec)6b35e42570
portlint (fix whitespace)cd526025d6
Fixes to make slave ports happy PR: 58268 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>954d44c3c8
chinese unzip: add cnoize's patch which won't strip chinese chars. PR: 58057 Submitted by: Statue <statue@freebsd.sinica.edu.tw>7c8f894085
Cosmetic fix: use %%DOCSDIR%% macro. No functionally changes. Submitted by: Oleg Karachevtsev <ok@etrust.ru> A part of PR: 57992ab8cf5f2db
Use better ../ & control vulnerability fix Submitted by: ITO Tsuyoshi <tsuyoshi@is.s.u-tokyo.ac.jp>a64b51263a
Close vulnerability with control char between two dots. Allow 255 char in file names.813a186866
Add a port for unzip with localized patches. Submitted by: Eugene M. Kim <ab@astralblue.net>8ceafdcf85
Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.7e52725f2a
Due to popular demant into each port which might be inserted into dependency list by bsd.port.mk insert anti foot-shooting device, which prevents infinite fork loop when the user defines corresponding USE_XXX in global make.conf, command line or environment. Similar devices should probably be inserted into ports that might be inserted into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk and so on.)4fe6852b8f
Upgrade to 5.5045b9977dda
DISTDIR -> _DISTDIR95d62e7d1a
Replace dead master sites Add WITH_UNZIP_UNREDUCE option9917d36c4c