GLSA-200609-13 : gzip: Multiple vulnerabilities

This script is Copyright (C) 2006-2014 Tenable Network Security, Inc.


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-200609-13
(gzip: Multiple vulnerabilities)

Tavis Ormandy of the Google Security Team has reported multiple
vulnerabilities in gzip. A stack buffer modification vulnerability was
discovered in the LZH decompression code, where a pathological data
stream may result in the modification of stack data such as frame
pointer, return address or saved registers. A static buffer underflow
was discovered in the pack decompression support, allowing a specially
crafted pack archive to underflow a .bss buffer. A static buffer
overflow was uncovered in the LZH decompression code, allowing a data
stream consisting of pathological huffman codes to overflow a .bss
buffer. Multiple infinite loops were also uncovered in the LZH
decompression code.

Impact :

A remote attacker may create a specially crafted gzip archive, which
when decompressed by a user or automated system exectues arbitrary code
with the privileges of the user id invoking gzip. The infinite loops
may be abused by an attacker to disrupt any automated systems invoking
gzip to handle data decompression.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200609-13.xml

Solution :

All gzip users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-arch/gzip-1.3.5-r9'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 22457 (gentoo_GLSA-200609-13.nasl)

Bugtraq ID:

CVE ID: CVE-2006-4334
CVE-2006-4335
CVE-2006-4336
CVE-2006-4337
CVE-2006-4338