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

high Nessus Plugin ID 31837

Synopsis

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

Description

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200804-06

Plugin Details

Severity: High

ID: 31837

File Name: gentoo_GLSA-200804-06.nasl

Version: 1.15

Type: local

Published: 4/11/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

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: 4/6/2008

Reference Information

CVE: CVE-2008-0888

CWE: 119

GLSA: 200804-06