GLSA-200804-06 : UnZip: User-assisted execution of arbitrary code

High Nessus Plugin ID 31837


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200804-06 (UnZip: User-assisted execution of arbitrary code)

Tavis Ormandy of the Google Security Team discovered that the NEEDBITS macro in the inflate_dynamic() function in the file inflate.c can be invoked using invalid buffers, which can lead to a double free.
Impact :

Remote attackers could entice a user or automated system to open a specially crafted ZIP file that might lead to the execution of arbitrary code or a Denial of Service.
Workaround :

There is no known workaround at this time.


All UnZip users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/unzip-5.52-r2'

See Also

Plugin Details

Severity: High

ID: 31837

File Name: gentoo_GLSA-200804-06.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2008/04/11

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:unzip, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2008/04/06

Reference Information

CVE: CVE-2008-0888

OSVDB: 43332

GLSA: 200804-06

CWE: 119