Gentoo 2514 Published by

A new security update has been released for Gentoo Linux - gzip: Multiple vulnerabilities. Here the announcement:



Gentoo Linux Security Advisory GLSA 200609-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: gzip: Multiple vulnerabilities
Date: September 23, 2006
Bugs: #145511
ID: 200609-13

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

gzip is affected by multiple vulnerabilities, including buffer
overflows and infinite loops, possibly allowing the execution of
arbitrary code.

Background
==========

gzip, the GNU zip compression utility, is a free and patent
unencumbered replacement for the standard compress utility.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-arch/gzip < 1.3.5-r9 >= 1.3.5-r9

Description
===========

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.

Resolution
==========

All gzip users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/gzip-1.3.5-r9"

References
==========

[ 1 ] CVE-2006-4334
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4334
[ 2 ] CVE-2006-4335
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4335
[ 3 ] CVE-2006-4336
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4336
[ 4 ] CVE-2006-4337
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4337
[ 5 ] CVE-2006-4338
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4338

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

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

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5